#2C42AD#2C42AD
#2C42AD is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.172 H 268.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2C42AD |
|---|---|
| RGB | rgb(44, 66, 173) |
| HSL | hsl(230, 59%, 43%) |
| HSV | hsv(230, 75%, 68%) |
| CMYK | cmyk(74.6%, 61.8%, 0%, 32.2%) |
| CIE-LAB | lab(32.81, 29.75, -59.58) |
| CIE-LCH | lch(32.81, 66.59, 296.53°) |
| OKLab | oklab(43.23% -0.0032 -0.1721) |
| OKLCH | oklch(43.23% 0.172 268.9) |
| XYZ | xyz(10.5271, 7.4479, 40.4098) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.94
Blue Blue
#2242C7
ΔE00 3.43
Cobalt
#0047AB
ΔE00 4.04
Ocean Blue
#4F42B5
ΔE00 5.17
Blueberry
#464196
ΔE00 5.21
Blue (survey)
#0343DF
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C42AD #AD972C
analogous
#2C83AD #2C42AD #562CAD
triadic
#2C42AD #AD2C42 #42AD2C
tetradic
#2C42AD #AD2C83 #AD972C #2CAD56
square
#2C42AD #AD2C83 #AD972C #2CAD56
split-complementary
#2C42AD #AD562C #83AD2C
monochromatic
#131D4B #202F7C #2C42AD #465ED0 #7788DC
Accessibility & contrast
On white
8.43
#2C42AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2C42AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C42AD
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C42AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C42AD | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c42ad; /* rgb */ color: rgb(44, 66, 173); /* oklch */ color: oklch(43.2% 0.172 268.9);
Tailwind
colors: {
custom: {
50: '#7876c6',
500: '#2c42ad',
950: '#000000',
},
}SCSS
$custom: #2c42ad; $custom-light: #7876c6; $custom-dark: #000000;
JSON
{
"hex": "#2c42ad",
"rgb": {
"r": 44,
"g": 66,
"b": 173
},
"hsl": {
"h": 229.767,
"s": 59.447,
"l": 42.549
},
"oklch": {
"l": 0.43229,
"c": 0.17215,
"h": 268.9
},
"luminance": 0.07449
}Semantic roles & 50–950 ramp
primary
#2C42AD
secondary
#C4B671
accent
#C845E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82