Back Home

1 views

#402a7f - Color Information

#402a7f

Base Information

HEX

#402a7f

RGB

64,42,127

HSL

256,50,33

HSV

256,67,50

CMYK

50,67,0,50

LAB

25,32,-45

LCH

25,55,306

XYZ

7,4,21

Web Safe

#333366

Web Smart

#442277

luminosity

0.0428

is dark color

Yes

Generate #402a7f solid background color

Create and download a solid color image in any size up to 5000x5000 pixels

Combinations

#402a7f complementary

Colors that are opposite to each other, forming a contrasting pair.

#402a7f splitComplementary

A base color and two secondary colors adjacent to its complementary color, offering high contrast with less tension.

#402a7f triadic

Three colors evenly spaced around the color wheel, providing vibrant and balanced color schemes.

#402a7f tetradic

Four colors forming a rectangle on the color wheel, consisting of two complementary color pairs for rich and diverse palettes.

#402a7f analogousComplementary

A combination of analogous colors with one complementary color, creating a harmonious yet dynamic palette.

#402a7f analogous

Colors that are next to each other on the color wheel, producing serene and comfortable designs.

Shades

#402a7f Light Tints

A series of lighter variations of the base color, created by mixing it with increasing amounts of white.

#402a7f Gray Shades

A collection of shades that blend the base color with gray, resulting in more muted and subdued tones.

#402a7f Dark Shades

Darker versions of the base color, achieved by mixing it with increasing amounts of black.

#402a7f Red Shades

A gradient of colors formed by mixing the base color with red, producing warmer and more intense hues.

#402a7f Green Shades

A range of colors generated by blending the base color with green, resulting in fresher and more vibrant tones.

#402a7f Blue Shades

A spectrum of colors created by mixing the base color with blue, yielding cooler and more calming shades.

Readability Analysis

#402a7f as Text Color

Background ColorContrast ScoreWCAG RatingPreview
White11.32AAA
Sample Text
Black1.86Fail
Sample Text
Red2.83Fail
Sample Text
Green2.20Fail
Sample Text
Blue1.32Fail
Sample Text

#402a7f as Background Color

Text ColorContrast ScoreWCAG RatingPreview
White11.32AAA
Sample Text
Black1.86Fail
Sample Text
Red2.83Fail
Sample Text
Green2.20Fail
Sample Text
Blue1.32Fail
Sample Text

Color Blindness Simulation

TypeDescriptionHex ValueColor Preview
ProtanomalyRed weakness - Anomalous trichromacy#17357c
DeuteranomalyGreen weakness - Anomalous trichromacy#173772
TritanomalyBlue weakness - Anomalous trichromacy#35385a
ProtanopiaNo red perception - Dichromacy#003b7a
DeuteranopiaNo green perception - Dichromacy#003e6a
TritanopiaNo blue perception - Dichromacy#2f4045
AchromatomalyPartial color blindness - Monochromacy#393150
AchromatopsiaComplete color blindness - Monochromacy#353535

#402a7f Color Code

NameCode
#402a7f css background color code
.bg { background-color: #402a7f; }
#402a7f css text color code
.text { color: #402a7f; }
#402a7f css border color code
.border { border-color: #402a7f; }