#2F4497#2F4497
#2F4497 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.138 H 269.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4497 |
|---|---|
| RGB | rgb(47, 68, 151) |
| HSL | hsl(228, 53%, 39%) |
| HSV | hsv(228, 69%, 59%) |
| CMYK | cmyk(68.9%, 55%, 0%, 40.8%) |
| CIE-LAB | lab(31.74, 20.61, -48.05) |
| CIE-LCH | lch(31.74, 52.28, 293.21°) |
| OKLab | oklab(41.93% -0.0024 -0.1381) |
| OKLCH | oklch(41.93% 0.138 269) |
| XYZ | xyz(8.8234, 6.9721, 30.1529) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.82
Cobalt
#0047AB
ΔE00 4.17
Blueberry
#464196
ΔE00 4.58
Sapphire (survey)
#2138AB
ΔE00 5.06
Darkish Blue
#014182
ΔE00 5.96
Darkslateblue
#483D8B
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4497 #97822F
analogous
#2F7897 #2F4497 #4E2F97
triadic
#2F4497 #972F44 #44972F
tetradic
#2F4497 #972F78 #97822F #2F974E
square
#2F4497 #972F78 #97822F #2F974E
split-complementary
#2F4497 #974E2F #78972F
monochromatic
#121A3A #202F68 #2F4497 #405AC3 #6E83D2
Accessibility & contrast
On white
8.77
#2F4497 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2F4497 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4497
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4497 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4497 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#06509A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f4497; /* rgb */ color: rgb(47, 68, 151); /* oklch */ color: oklch(41.9% 0.138 269.0);
Tailwind
colors: {
custom: {
50: '#7477b6',
500: '#2f4497',
950: '#000000',
},
}SCSS
$custom: #2f4497; $custom-light: #7477b6; $custom-dark: #000000;
JSON
{
"hex": "#2f4497",
"rgb": {
"r": 47,
"g": 68,
"b": 151
},
"hsl": {
"h": 227.885,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.41929,
"c": 0.13816,
"h": 269
},
"luminance": 0.06973
}Semantic roles & 50–950 ramp
primary
#2F4497
secondary
#B9A968
accent
#BF4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80