#2C4F96#2C4F96
#2C4F96 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.123 H 262.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4F96 |
|---|---|
| RGB | rgb(44, 79, 150) |
| HSL | hsl(220, 55%, 38%) |
| HSV | hsv(220, 71%, 59%) |
| CMYK | cmyk(70.7%, 47.3%, 0%, 41.2%) |
| CIE-LAB | lab(34.66, 12.36, -42.75) |
| CIE-LCH | lch(34.66, 44.50, 286.13°) |
| OKLab | oklab(44.08% -0.0157 -0.1224) |
| OKLCH | oklch(44.08% 0.123 262.7) |
| XYZ | xyz(9.3378, 8.3285, 29.9637) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.52
Dusk Blue
#26538D
ΔE00 2.84
Cobalt
#0047AB
ΔE00 4.09
Denim Blue
#3B5B92
ΔE00 4.11
Sapphire
#0F52BA
ΔE00 4.68
Light Navy
#155084
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4F96 #96732C
analogous
#2C8496 #2C4F96 #3E2C96
triadic
#2C4F96 #962C4F #4F962C
tetradic
#2C4F96 #962C84 #96732C #2C963E
square
#2C4F96 #962C84 #96732C #2C963E
split-complementary
#2C4F96 #963E2C #84962C
monochromatic
#101D37 #1E3667 #2C4F96 #3A68C5 #698CD3
Accessibility & contrast
On white
7.88
#2C4F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2C4F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4F96
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4F96 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5799
Deuteranopia (green-blind)
#144D95
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2c4f96; /* rgb */ color: rgb(44, 79, 150); /* oklch */ color: oklch(44.1% 0.123 262.7);
Tailwind
colors: {
custom: {
50: '#727fb5',
500: '#2c4f96',
950: '#000000',
},
}SCSS
$custom: #2c4f96; $custom-light: #727fb5; $custom-dark: #000000;
JSON
{
"hex": "#2c4f96",
"rgb": {
"r": 44,
"g": 79,
"b": 150
},
"hsl": {
"h": 220.189,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.44083,
"c": 0.12344,
"h": 262.7
},
"luminance": 0.08329
}Semantic roles & 50–950 ramp
primary
#2C4F96
secondary
#BA9D64
accent
#AD4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80