#2F4E97#2F4E97
#2F4E97 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.125 H 264.5°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4E97 |
|---|---|
| RGB | rgb(47, 78, 151) |
| HSL | hsl(222, 53%, 39%) |
| HSV | hsv(222, 69%, 59%) |
| CMYK | cmyk(68.9%, 48.3%, 0%, 40.8%) |
| CIE-LAB | lab(34.57, 13.90, -43.48) |
| CIE-LCH | lch(34.57, 45.65, 287.72°) |
| OKLab | oklab(44.08% -0.0119 -0.1245) |
| OKLCH | oklch(44.08% 0.125 264.5) |
| XYZ | xyz(9.4806, 8.2866, 30.3720) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.65
Dusk Blue
#26538D
ΔE00 3.58
Cobalt
#0047AB
ΔE00 4.01
Denim Blue
#3B5B92
ΔE00 4.47
Sapphire
#0F52BA
ΔE00 4.85
Light Navy
#155084
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4E97 #97782F
analogous
#2F8297 #2F4E97 #442F97
triadic
#2F4E97 #972F4E #4E972F
tetradic
#2F4E97 #972F82 #97782F #2F9744
square
#2F4E97 #972F82 #97782F #2F9744
split-complementary
#2F4E97 #97442F #82972F
monochromatic
#121E3A #203668 #2F4E97 #4067C3 #6E8CD2
Accessibility & contrast
On white
7.90
#2F4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2F4E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4E97
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4E97 | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28569A
Deuteranopia (green-blind)
#114D96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4e97; /* rgb */ color: rgb(47, 78, 151); /* oklch */ color: oklch(44.1% 0.125 264.5);
Tailwind
colors: {
custom: {
50: '#747fb6',
500: '#2f4e97',
950: '#000000',
},
}SCSS
$custom: #2f4e97; $custom-light: #747fb6; $custom-dark: #000000;
JSON
{
"hex": "#2f4e97",
"rgb": {
"r": 47,
"g": 78,
"b": 151
},
"hsl": {
"h": 222.115,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.44078,
"c": 0.12512,
"h": 264.5
},
"luminance": 0.08287
}Semantic roles & 50–950 ramp
primary
#2F4E97
secondary
#B9A168
accent
#B14CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80