#2F4C9F#2F4C9F
#2F4C9F is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.139 H 266.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4C9F |
|---|---|
| RGB | rgb(47, 76, 159) |
| HSL | hsl(224, 54%, 40%) |
| HSV | hsv(224, 70%, 62%) |
| CMYK | cmyk(70.4%, 52.2%, 0%, 37.6%) |
| CIE-LAB | lab(34.55, 18.25, -48.35) |
| CIE-LCH | lch(34.55, 51.68, 290.68°) |
| OKLab | oklab(44.24% -0.009 -0.1389) |
| OKLCH | oklch(44.24% 0.139 266.3) |
| XYZ | xyz(10.0126, 8.2754, 33.8638) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.21
Cobalt (survey)
#1E488F
ΔE00 3.32
Sapphire
#0F52BA
ΔE00 4.41
Dusk Blue
#26538D
ΔE00 4.85
Denim Blue
#3B5B92
ΔE00 5.50
Darkish Blue
#014182
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4C9F #9F822F
analogous
#2F849F #2F4C9F #4A2F9F
triadic
#2F4C9F #9F2F4C #4C9F2F
tetradic
#2F4C9F #9F2F84 #9F822F #2F9F4A
square
#2F4C9F #9F2F84 #9F822F #2F9F4A
split-complementary
#2F4C9F #9F4A2F #849F2F
monochromatic
#131F41 #213570 #2F4C9F #4466C8 #738CD6
Accessibility & contrast
On white
7.91
#2F4C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2F4C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4C9F
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4C9F | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1857A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4c9f; /* rgb */ color: rgb(47, 76, 159); /* oklch */ color: oklch(44.2% 0.139 266.3);
Tailwind
colors: {
custom: {
50: '#767dbc',
500: '#2f4c9f',
950: '#000000',
},
}SCSS
$custom: #2f4c9f; $custom-light: #767dbc; $custom-dark: #000000;
JSON
{
"hex": "#2f4c9f",
"rgb": {
"r": 47,
"g": 76,
"b": 159
},
"hsl": {
"h": 224.464,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.44235,
"c": 0.13919,
"h": 266.3
},
"luminance": 0.08276
}Semantic roles & 50–950 ramp
primary
#2F4C9F
secondary
#BDA86D
accent
#B74ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81