#2C42B6#2C42B6
#2C42B6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.184 H 268.9°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C42B6 |
|---|---|
| RGB | rgb(44, 66, 182) |
| HSL | hsl(230, 61%, 44%) |
| HSV | hsv(230, 76%, 71%) |
| CMYK | cmyk(75.8%, 63.7%, 0%, 28.6%) |
| CIE-LAB | lab(33.58, 33.07, -63.66) |
| CIE-LCH | lch(33.58, 71.74, 297.45°) |
| OKLab | oklab(44.04% -0.0034 -0.1841) |
| OKLCH | oklch(44.04% 0.184 268.9) |
| XYZ | xyz(11.4275, 7.8081, 45.1517) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.19
Sapphire (survey)
#2138AB
ΔE00 3.21
Cobalt
#0047AB
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 4.68
Blue (survey)
#0343DF
ΔE00 5.03
Blueberry
#464196
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C42B6 #B6A02C
analogous
#2C87B6 #2C42B6 #5B2CB6
triadic
#2C42B6 #B62C42 #42B62C
tetradic
#2C42B6 #B62C87 #B6A02C #2CB65B
square
#2C42B6 #B62C87 #B6A02C #2CB65B
split-complementary
#2C42B6 #B65B2C #87B62C
monochromatic
#141E53 #203085 #2C42B6 #4C61D4 #7D8DE0
Accessibility & contrast
On white
8.20
#2C42B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2C42B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C42B6
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C42B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C42B6 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#0049B4
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c42b6; /* rgb */ color: rgb(44, 66, 182); /* oklch */ color: oklch(44.0% 0.184 268.9);
Tailwind
colors: {
custom: {
50: '#7a76cd',
500: '#2c42b6',
950: '#000000',
},
}SCSS
$custom: #2c42b6; $custom-light: #7a76cd; $custom-dark: #000000;
JSON
{
"hex": "#2c42b6",
"rgb": {
"r": 44,
"g": 66,
"b": 182
},
"hsl": {
"h": 230.435,
"s": 61.062,
"l": 44.314
},
"oklch": {
"l": 0.4404,
"c": 0.18411,
"h": 268.9
},
"luminance": 0.07809
}Semantic roles & 50–950 ramp
primary
#2C42B6
secondary
#C8BB76
accent
#CB44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82