#2C4E9B#2C4E9B
#2C4E9B is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.132 H 263.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4E9B |
|---|---|
| RGB | rgb(44, 78, 155) |
| HSL | hsl(222, 56%, 39%) |
| HSV | hsv(222, 72%, 61%) |
| CMYK | cmyk(71.6%, 49.7%, 0%, 39.2%) |
| CIE-LAB | lab(34.70, 14.94, -45.70) |
| CIE-LCH | lch(34.70, 48.08, 288.10°) |
| OKLab | oklab(44.22% -0.014 -0.1311) |
| OKLCH | oklch(44.22% 0.132 263.9) |
| XYZ | xyz(9.6774, 8.3498, 32.1057) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.71
Cobalt
#0047AB
ΔE00 3.49
Dusk Blue
#26538D
ΔE00 3.60
Sapphire
#0F52BA
ΔE00 4.25
Denim Blue
#3B5B92
ΔE00 4.61
Light Navy
#155084
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4E9B #9B792C
analogous
#2C869B #2C4E9B #422C9B
triadic
#2C4E9B #9B2C4E #4E9B2C
tetradic
#2C4E9B #9B2C86 #9B792C #2C9B42
square
#2C4E9B #9B2C86 #9B792C #2C9B42
split-complementary
#2C4E9B #9B422C #869B2C
monochromatic
#111E3C #1E366B #2C4E9B #3C67C8 #6C8CD5
Accessibility & contrast
On white
7.86
#2C4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2C4E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4E9B
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4E9B | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23579E
Deuteranopia (green-blind)
#004D99
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2c4e9b; /* rgb */ color: rgb(44, 78, 155); /* oklch */ color: oklch(44.2% 0.132 263.9);
Tailwind
colors: {
custom: {
50: '#737fb9',
500: '#2c4e9b',
950: '#000000',
},
}SCSS
$custom: #2c4e9b; $custom-light: #737fb9; $custom-dark: #000000;
JSON
{
"hex": "#2c4e9b",
"rgb": {
"r": 44,
"g": 78,
"b": 155
},
"hsl": {
"h": 221.622,
"s": 55.779,
"l": 39.02
},
"oklch": {
"l": 0.44223,
"c": 0.13189,
"h": 263.9
},
"luminance": 0.08351
}Semantic roles & 50–950 ramp
primary
#2C4E9B
secondary
#BCA267
accent
#B149DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80