#2F4F99#2F4F99
#2F4F99 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.127 H 264.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F99 |
|---|---|
| RGB | rgb(47, 79, 153) |
| HSL | hsl(222, 53%, 39%) |
| HSV | hsv(222, 69%, 60%) |
| CMYK | cmyk(69.3%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(34.99, 13.99, -44.02) |
| CIE-LCH | lch(34.99, 46.19, 287.63°) |
| OKLab | oklab(44.44% -0.0126 -0.1261) |
| OKLCH | oklch(44.44% 0.127 264.3) |
| XYZ | xyz(9.7160, 8.4952, 31.2585) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.91
Dusk Blue
#26538D
ΔE00 3.46
Cobalt
#0047AB
ΔE00 3.99
Denim Blue
#3B5B92
ΔE00 4.22
Sapphire
#0F52BA
ΔE00 4.51
Light Navy Blue
#2E5A88
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F99 #99792F
analogous
#2F8499 #2F4F99 #442F99
triadic
#2F4F99 #992F4F #4F992F
tetradic
#2F4F99 #992F84 #99792F #2F9944
square
#2F4F99 #992F84 #99792F #2F9944
split-complementary
#2F4F99 #99442F #84992F
monochromatic
#121F3B #21376A #2F4F99 #4168C5 #6F8ED3
Accessibility & contrast
On white
7.78
#2F4F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#2F4F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F99
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F99 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28579C
Deuteranopia (green-blind)
#104E97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f4f99; /* rgb */ color: rgb(47, 79, 153); /* oklch */ color: oklch(44.4% 0.127 264.3);
Tailwind
colors: {
custom: {
50: '#747fb7',
500: '#2f4f99',
950: '#000000',
},
}SCSS
$custom: #2f4f99; $custom-light: #747fb7; $custom-dark: #000000;
JSON
{
"hex": "#2f4f99",
"rgb": {
"r": 47,
"g": 79,
"b": 153
},
"hsl": {
"h": 221.887,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.44442,
"c": 0.12674,
"h": 264.3
},
"luminance": 0.08496
}Semantic roles & 50–950 ramp
primary
#2F4F99
secondary
#BAA269
accent
#B14BDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80