#2F4E9F#2F4E9F
#2F4E9F is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.137 H 265.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4E9F |
|---|---|
| RGB | rgb(47, 78, 159) |
| HSL | hsl(223, 54%, 40%) |
| HSV | hsv(223, 70%, 62%) |
| CMYK | cmyk(70.4%, 50.9%, 0%, 37.6%) |
| CIE-LAB | lab(35.11, 16.92, -47.44) |
| CIE-LCH | lch(35.11, 50.37, 289.63°) |
| OKLab | oklab(44.66% -0.0109 -0.1362) |
| OKLCH | oklch(44.66% 0.137 265.4) |
| XYZ | xyz(10.1525, 8.5553, 33.9105) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.35
Cobalt
#0047AB
ΔE00 3.43
Sapphire
#0F52BA
ΔE00 4.05
Dusk Blue
#26538D
ΔE00 4.30
Denim Blue
#3B5B92
ΔE00 4.85
Light Navy Blue
#2E5A88
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4E9F #9F802F
analogous
#2F869F #2F4E9F #482F9F
triadic
#2F4E9F #9F2F4E #4E9F2F
tetradic
#2F4E9F #9F2F86 #9F802F #2F9F48
square
#2F4E9F #9F2F86 #9F802F #2F9F48
split-complementary
#2F4E9F #9F482F #869F2F
monochromatic
#132041 #213770 #2F4E9F #4468C8 #738ED6
Accessibility & contrast
On white
7.75
#2F4E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#2F4E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4E9F
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4E9F | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4e9f; /* rgb */ color: rgb(47, 78, 159); /* oklch */ color: oklch(44.7% 0.137 265.4);
Tailwind
colors: {
custom: {
50: '#767fbc',
500: '#2f4e9f',
950: '#000000',
},
}SCSS
$custom: #2f4e9f; $custom-light: #767fbc; $custom-dark: #000000;
JSON
{
"hex": "#2f4e9f",
"rgb": {
"r": 47,
"g": 78,
"b": 159
},
"hsl": {
"h": 223.393,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.44664,
"c": 0.13663,
"h": 265.4
},
"luminance": 0.08556
}Semantic roles & 50–950 ramp
primary
#2F4E9F
secondary
#BDA76D
accent
#B54ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81