#2C439E#2C439E
#2C439E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.150 H 268.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2C439E |
|---|---|
| RGB | rgb(44, 67, 158) |
| HSL | hsl(228, 56%, 40%) |
| HSV | hsv(228, 72%, 62%) |
| CMYK | cmyk(72.2%, 57.6%, 0%, 38%) |
| CIE-LAB | lab(31.85, 23.46, -52.13) |
| CIE-LCH | lch(31.85, 57.17, 294.23°) |
| OKLab | oklab(42.13% -0.0042 -0.1502) |
| OKLCH | oklch(42.13% 0.15 268.4) |
| XYZ | xyz(9.2153, 7.0175, 33.2100) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.64
Sapphire (survey)
#2138AB
ΔE00 4.09
Cobalt (survey)
#1E488F
ΔE00 4.37
Blueberry
#464196
ΔE00 4.72
Blue Blue
#2242C7
ΔE00 5.65
Darkish Blue
#014182
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C439E #9E872C
analogous
#2C7C9E #2C439E #4E2C9E
triadic
#2C439E #9E2C43 #439E2C
tetradic
#2C439E #9E2C7C #9E872C #2C9E4E
square
#2C439E #9E2C7C #9E872C #2C9E4E
split-complementary
#2C439E #9E4E2C #7C9E2C
monochromatic
#111A3E #1F2F6E #2C439E #3E5AC9 #6E83D7
Accessibility & contrast
On white
8.74
#2C439E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2C439E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C439E
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C439E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C439E | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c439e; /* rgb */ color: rgb(44, 67, 158); /* oklch */ color: oklch(42.1% 0.150 268.4);
Tailwind
colors: {
custom: {
50: '#7576bb',
500: '#2c439e',
950: '#000000',
},
}SCSS
$custom: #2c439e; $custom-light: #7576bb; $custom-dark: #000000;
JSON
{
"hex": "#2c439e",
"rgb": {
"r": 44,
"g": 67,
"b": 158
},
"hsl": {
"h": 227.895,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.42133,
"c": 0.1503,
"h": 268.4
},
"luminance": 0.07018
}Semantic roles & 50–950 ramp
primary
#2C439E
secondary
#BEAC68
accent
#C148E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81