#2F4A9E#2F4A9E
#2F4A9E is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.140 H 267.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4A9E |
|---|---|
| RGB | rgb(47, 74, 158) |
| HSL | hsl(225, 54%, 40%) |
| HSV | hsv(225, 70%, 62%) |
| CMYK | cmyk(70.3%, 53.2%, 0%, 38%) |
| CIE-LAB | lab(33.92, 19.21, -48.77) |
| CIE-LCH | lch(33.92, 52.41, 291.50°) |
| OKLab | oklab(43.74% -0.0073 -0.1402) |
| OKLCH | oklch(43.74% 0.14 267) |
| XYZ | xyz(9.7905, 7.9695, 33.3634) |
| Luminance | 0.0797 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.20
Cobalt (survey)
#1E488F
ΔE00 3.33
Sapphire
#0F52BA
ΔE00 4.91
Dusk Blue
#26538D
ΔE00 5.35
Blueberry
#464196
ΔE00 5.91
Denim Blue
#3B5B92
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4A9E #9E832F
analogous
#2F829E #2F4A9E #4B2F9E
triadic
#2F4A9E #9E2F4A #4A9E2F
tetradic
#2F4A9E #9E2F82 #9E832F #2F9E4B
square
#2F4A9E #9E2F82 #9E832F #2F9E4B
split-complementary
#2F4A9E #9E4B2F #829E2F
monochromatic
#131E40 #21346F #2F4A9E #4363C7 #728AD5
Accessibility & contrast
On white
8.09
#2F4A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2F4A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4A9E
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4A9E | 1.00 | 8.09 | 2.59 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1355A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f4a9e; /* rgb */ color: rgb(47, 74, 158); /* oklch */ color: oklch(43.7% 0.140 267.0);
Tailwind
colors: {
custom: {
50: '#767cbb',
500: '#2f4a9e',
950: '#000000',
},
}SCSS
$custom: #2f4a9e; $custom-light: #767cbb; $custom-dark: #000000;
JSON
{
"hex": "#2f4a9e",
"rgb": {
"r": 47,
"g": 74,
"b": 158
},
"hsl": {
"h": 225.405,
"s": 54.146,
"l": 40.196
},
"oklch": {
"l": 0.43735,
"c": 0.14035,
"h": 267
},
"luminance": 0.07971
}Semantic roles & 50–950 ramp
primary
#2F4A9E
secondary
#BDA96C
accent
#BA4ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81