#2C439F#2C439F
#2C439F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.2% C 0.152 H 268.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2C439F |
|---|---|
| RGB | rgb(44, 67, 159) |
| HSL | hsl(228, 57%, 40%) |
| HSV | hsv(228, 72%, 62%) |
| CMYK | cmyk(72.3%, 57.9%, 0%, 37.6%) |
| CIE-LAB | lab(31.93, 23.84, -52.61) |
| CIE-LCH | lch(31.93, 57.76, 294.38°) |
| OKLab | oklab(42.22% -0.0041 -0.1516) |
| OKLCH | oklch(42.22% 0.152 268.4) |
| XYZ | xyz(9.3017, 7.0520, 33.6651) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.61
Sapphire (survey)
#2138AB
ΔE00 3.99
Cobalt (survey)
#1E488F
ΔE00 4.47
Blueberry
#464196
ΔE00 4.73
Blue Blue
#2242C7
ΔE00 5.50
Sapphire
#0F52BA
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C439F #9F882C
analogous
#2C7D9F #2C439F #4F2C9F
triadic
#2C439F #9F2C43 #439F2C
tetradic
#2C439F #9F2C7D #9F882C #2C9F4F
square
#2C439F #9F2C7D #9F882C #2C9F4F
split-complementary
#2C439F #9F4F2C #7D9F2C
monochromatic
#111B3F #1F2F6F #2C439F #3E5ACA #6E83D7
Accessibility & contrast
On white
8.71
#2C439F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2C439F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C439F
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C439F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C439F | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#005A6A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c439f; /* rgb */ color: rgb(44, 67, 159); /* oklch */ color: oklch(42.2% 0.152 268.4);
Tailwind
colors: {
custom: {
50: '#7576bc',
500: '#2c439f',
950: '#000000',
},
}SCSS
$custom: #2c439f; $custom-light: #7576bc; $custom-dark: #000000;
JSON
{
"hex": "#2c439f",
"rgb": {
"r": 44,
"g": 67,
"b": 159
},
"hsl": {
"h": 228,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.42216,
"c": 0.1517,
"h": 268.4
},
"luminance": 0.07053
}Semantic roles & 50–950 ramp
primary
#2C439F
secondary
#BEAD69
accent
#C248E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81