#2F4F96#2F4F96
#2F4F96 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.122 H 263.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4F96 |
|---|---|
| RGB | rgb(47, 79, 150) |
| HSL | hsl(221, 52%, 39%) |
| HSV | hsv(221, 69%, 59%) |
| CMYK | cmyk(68.7%, 47.3%, 0%, 41.2%) |
| CIE-LAB | lab(34.80, 12.85, -42.52) |
| CIE-LCH | lch(34.80, 44.42, 286.82°) |
| OKLab | oklab(44.23% -0.0131 -0.1217) |
| OKLCH | oklch(44.23% 0.122 263.9) |
| XYZ | xyz(9.4714, 8.3974, 29.9700) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.73
Dusk Blue
#26538D
ΔE00 3.20
Denim Blue
#3B5B92
ΔE00 4.10
Cobalt
#0047AB
ΔE00 4.24
Sapphire
#0F52BA
ΔE00 4.84
Light Navy Blue
#2E5A88
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4F96 #96762F
analogous
#2F8296 #2F4F96 #422F96
triadic
#2F4F96 #962F4F #4F962F
tetradic
#2F4F96 #962F82 #96762F #2F9642
square
#2F4F96 #962F82 #96762F #2F9642
split-complementary
#2F4F96 #96422F #82962F
monochromatic
#121E39 #203667 #2F4F96 #3F68C3 #6E8DD2
Accessibility & contrast
On white
7.84
#2F4F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2F4F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4F96
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4F96 | 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)
#2B5799
Deuteranopia (green-blind)
#164D95
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f4f96; /* rgb */ color: rgb(47, 79, 150); /* oklch */ color: oklch(44.2% 0.122 263.9);
Tailwind
colors: {
custom: {
50: '#747fb5',
500: '#2f4f96',
950: '#000000',
},
}SCSS
$custom: #2f4f96; $custom-light: #747fb5; $custom-dark: #000000;
JSON
{
"hex": "#2f4f96",
"rgb": {
"r": 47,
"g": 79,
"b": 150
},
"hsl": {
"h": 221.359,
"s": 52.284,
"l": 38.627
},
"oklch": {
"l": 0.44228,
"c": 0.12239,
"h": 263.9
},
"luminance": 0.08398
}Semantic roles & 50–950 ramp
primary
#2F4F96
secondary
#B9A068
accent
#AF4CDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80