#2F4E9A#2F4E9A
#2F4E9A is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.3% C 0.129 H 264.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4E9A |
|---|---|
| RGB | rgb(47, 78, 154) |
| HSL | hsl(223, 53%, 39%) |
| HSV | hsv(223, 69%, 60%) |
| CMYK | cmyk(69.5%, 49.4%, 0%, 39.6%) |
| CIE-LAB | lab(34.77, 15.03, -44.98) |
| CIE-LCH | lch(34.77, 47.42, 288.48°) |
| OKLab | oklab(44.3% -0.0115 -0.1289) |
| OKLCH | oklch(44.3% 0.129 264.9) |
| XYZ | xyz(9.7274, 8.3852, 31.6715) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.87
Cobalt
#0047AB
ΔE00 3.76
Dusk Blue
#26538D
ΔE00 3.83
Sapphire
#0F52BA
ΔE00 4.54
Denim Blue
#3B5B92
ΔE00 4.59
Light Navy Blue
#2E5A88
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4E9A #9A7B2F
analogous
#2F849A #2F4E9A #462F9A
triadic
#2F4E9A #9A2F4E #4E9A2F
tetradic
#2F4E9A #9A2F84 #9A7B2F #2F9A46
square
#2F4E9A #9A2F84 #9A7B2F #2F9A46
split-complementary
#2F4E9A #9A462F #849A2F
monochromatic
#121F3C #21366B #2F4E9A #4167C5 #708DD3
Accessibility & contrast
On white
7.84
#2F4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2F4E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4E9A
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4E9A | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25579D
Deuteranopia (green-blind)
#084D98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f4e9a; /* rgb */ color: rgb(47, 78, 154); /* oklch */ color: oklch(44.3% 0.129 264.9);
Tailwind
colors: {
custom: {
50: '#747fb8',
500: '#2f4e9a',
950: '#000000',
},
}SCSS
$custom: #2f4e9a; $custom-light: #747fb8; $custom-dark: #000000;
JSON
{
"hex": "#2f4e9a",
"rgb": {
"r": 47,
"g": 78,
"b": 154
},
"hsl": {
"h": 222.617,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.44295,
"c": 0.12945,
"h": 264.9
},
"luminance": 0.08386
}Semantic roles & 50–950 ramp
primary
#2F4E9A
secondary
#BBA36A
accent
#B24BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80