#2C4F94#2C4F94
#2C4F94 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 43.9% C 0.121 H 262.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4F94 |
|---|---|
| RGB | rgb(44, 79, 148) |
| HSL | hsl(220, 54%, 38%) |
| HSV | hsv(220, 70%, 58%) |
| CMYK | cmyk(70.3%, 46.6%, 0%, 42%) |
| CIE-LAB | lab(34.53, 11.60, -41.74) |
| CIE-LCH | lch(34.53, 43.32, 285.53°) |
| OKLab | oklab(43.94% -0.0161 -0.1195) |
| OKLCH | oklch(43.94% 0.121 262.3) |
| XYZ | xyz(9.1781, 8.2646, 29.1228) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.43
Dusk Blue
#26538D
ΔE00 2.66
Denim Blue
#3B5B92
ΔE00 4.06
Cobalt
#0047AB
ΔE00 4.27
Light Navy
#155084
ΔE00 4.73
Sapphire
#0F52BA
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4F94 #94712C
analogous
#2C8394 #2C4F94 #3D2C94
triadic
#2C4F94 #942C4F #4F942C
tetradic
#2C4F94 #942C83 #94712C #2C943D
square
#2C4F94 #942C83 #94712C #2C943D
split-complementary
#2C4F94 #943D2C #83942C
monochromatic
#101D36 #1E3665 #2C4F94 #3A68C3 #688CD2
Accessibility & contrast
On white
7.91
#2C4F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2C4F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4F94
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4F94 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5697
Deuteranopia (green-blind)
#184D93
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2c4f94; /* rgb */ color: rgb(44, 79, 148); /* oklch */ color: oklch(43.9% 0.121 262.3);
Tailwind
colors: {
custom: {
50: '#727fb4',
500: '#2c4f94',
950: '#000000',
},
}SCSS
$custom: #2c4f94; $custom-light: #727fb4; $custom-dark: #000000;
JSON
{
"hex": "#2c4f94",
"rgb": {
"r": 44,
"g": 79,
"b": 148
},
"hsl": {
"h": 219.808,
"s": 54.167,
"l": 37.647
},
"oklch": {
"l": 0.43942,
"c": 0.12056,
"h": 262.3
},
"luminance": 0.08266
}Semantic roles & 50–950 ramp
primary
#2C4F94
secondary
#B99C63
accent
#AC4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80