#2C42B5#2C42B5
#2C42B5 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.183 H 268.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2C42B5 |
|---|---|
| RGB | rgb(44, 66, 181) |
| HSL | hsl(230, 61%, 44%) |
| HSV | hsv(230, 76%, 71%) |
| CMYK | cmyk(75.7%, 63.5%, 0%, 29%) |
| CIE-LAB | lab(33.49, 32.70, -63.21) |
| CIE-LCH | lch(33.49, 71.17, 297.36°) |
| OKLab | oklab(43.95% -0.0034 -0.1828) |
| OKLCH | oklch(43.95% 0.183 268.9) |
| XYZ | xyz(11.3245, 7.7669, 44.6094) |
| Luminance | 0.0777 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.32
Sapphire (survey)
#2138AB
ΔE00 3.15
Cobalt
#0047AB
ΔE00 4.54
Ocean Blue
#4F42B5
ΔE00 4.72
Blue (survey)
#0343DF
ΔE00 5.16
Blueberry
#464196
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C42B5 #B59F2C
analogous
#2C87B5 #2C42B5 #5B2CB5
triadic
#2C42B5 #B52C42 #42B52C
tetradic
#2C42B5 #B52C87 #B59F2C #2CB55B
square
#2C42B5 #B52C87 #B59F2C #2CB55B
split-complementary
#2C42B5 #B55B2C #87B52C
monochromatic
#141E53 #203084 #2C42B5 #4B61D3 #7C8CDF
Accessibility & contrast
On white
8.22
#2C42B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2C42B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C42B5
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C42B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C42B5 | 1.00 | 8.22 | 2.55 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c42b5; /* rgb */ color: rgb(44, 66, 181); /* oklch */ color: oklch(43.9% 0.183 268.9);
Tailwind
colors: {
custom: {
50: '#7a76cc',
500: '#2c42b5',
950: '#000000',
},
}SCSS
$custom: #2c42b5; $custom-light: #7a76cc; $custom-dark: #000000;
JSON
{
"hex": "#2c42b5",
"rgb": {
"r": 44,
"g": 66,
"b": 181
},
"hsl": {
"h": 230.365,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.43948,
"c": 0.18279,
"h": 268.9
},
"luminance": 0.07768
}Semantic roles & 50–950 ramp
primary
#2C42B5
secondary
#C8BA75
accent
#CA44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82