#2F4B9F#2F4B9F
#2F4B9F is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.140 H 266.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4B9F |
|---|---|
| RGB | rgb(47, 75, 159) |
| HSL | hsl(225, 54%, 40%) |
| HSV | hsv(225, 70%, 62%) |
| CMYK | cmyk(70.4%, 52.8%, 0%, 37.6%) |
| CIE-LAB | lab(34.27, 18.92, -48.80) |
| CIE-LCH | lch(34.27, 52.34, 291.19°) |
| OKLab | oklab(44.02% -0.0081 -0.1403) |
| OKLCH | oklch(44.02% 0.14 266.7) |
| XYZ | xyz(9.9442, 8.1387, 33.8410) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.16
Cobalt (survey)
#1E488F
ΔE00 3.36
Sapphire
#0F52BA
ΔE00 4.61
Dusk Blue
#26538D
ΔE00 5.14
Denim Blue
#3B5B92
ΔE00 5.83
Blueberry
#464196
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4B9F #9F832F
analogous
#2F839F #2F4B9F #4B2F9F
triadic
#2F4B9F #9F2F4B #4B9F2F
tetradic
#2F4B9F #9F2F83 #9F832F #2F9F4B
square
#2F4B9F #9F2F83 #9F832F #2F9F4B
split-complementary
#2F4B9F #9F4B2F #839F2F
monochromatic
#131E41 #213570 #2F4B9F #4465C8 #738CD6
Accessibility & contrast
On white
7.99
#2F4B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#2F4B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4B9F
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4B9F | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1556A2
Deuteranopia (green-blind)
#004C9D
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2f4b9f; /* rgb */ color: rgb(47, 75, 159); /* oklch */ color: oklch(44.0% 0.140 266.7);
Tailwind
colors: {
custom: {
50: '#767cbc',
500: '#2f4b9f',
950: '#000000',
},
}SCSS
$custom: #2f4b9f; $custom-light: #767cbc; $custom-dark: #000000;
JSON
{
"hex": "#2f4b9f",
"rgb": {
"r": 47,
"g": 75,
"b": 159
},
"hsl": {
"h": 225,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.44023,
"c": 0.14049,
"h": 266.7
},
"luminance": 0.0814
}Semantic roles & 50–950 ramp
primary
#2F4B9F
secondary
#BDA96D
accent
#B94ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81