#2F4A9F#2F4A9F
#2F4A9F is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.142 H 267.1°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4A9F |
|---|---|
| RGB | rgb(47, 74, 159) |
| HSL | hsl(226, 54%, 40%) |
| HSV | hsv(226, 70%, 62%) |
| CMYK | cmyk(70.4%, 53.5%, 0%, 37.6%) |
| CIE-LAB | lab(33.99, 19.59, -49.25) |
| CIE-LCH | lch(33.99, 53.01, 291.69°) |
| OKLab | oklab(43.81% -0.0072 -0.1416) |
| OKLCH | oklch(43.81% 0.142 267.1) |
| XYZ | xyz(9.8769, 8.0041, 33.8186) |
| Luminance | 0.0800 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.14
Cobalt (survey)
#1E488F
ΔE00 3.45
Sapphire
#0F52BA
ΔE00 4.83
Dusk Blue
#26538D
ΔE00 5.43
Blueberry
#464196
ΔE00 5.89
Sapphire (survey)
#2138AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4A9F #9F842F
analogous
#2F829F #2F4A9F #4C2F9F
triadic
#2F4A9F #9F2F4A #4A9F2F
tetradic
#2F4A9F #9F2F82 #9F842F #2F9F4C
square
#2F4A9F #9F2F82 #9F842F #2F9F4C
split-complementary
#2F4A9F #9F4C2F #829F2F
monochromatic
#131E41 #213470 #2F4A9F #4463C8 #738BD6
Accessibility & contrast
On white
8.07
#2F4A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#2F4A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4A9F
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4A9F | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1055A2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f4a9f; /* rgb */ color: rgb(47, 74, 159); /* oklch */ color: oklch(43.8% 0.142 267.1);
Tailwind
colors: {
custom: {
50: '#767cbc',
500: '#2f4a9f',
950: '#000000',
},
}SCSS
$custom: #2f4a9f; $custom-light: #767cbc; $custom-dark: #000000;
JSON
{
"hex": "#2f4a9f",
"rgb": {
"r": 47,
"g": 74,
"b": 159
},
"hsl": {
"h": 225.536,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.43812,
"c": 0.14177,
"h": 267.1
},
"luminance": 0.08005
}Semantic roles & 50–950 ramp
primary
#2F4A9F
secondary
#BDAA6D
accent
#BA4ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81