#2F4DB9#2F4DB9
#2F4DB9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.174 H 267.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4DB9 |
|---|---|
| RGB | rgb(47, 77, 185) |
| HSL | hsl(227, 59%, 45%) |
| HSV | hsv(227, 75%, 73%) |
| CMYK | cmyk(74.6%, 58.4%, 0%, 27.5%) |
| CIE-LAB | lab(36.77, 27.36, -60.22) |
| CIE-LCH | lch(36.77, 66.14, 294.44°) |
| OKLab | oklab(46.52% -0.0081 -0.1738) |
| OKLCH | oklch(46.52% 0.174 267.3) |
| XYZ | xyz(12.5801, 9.4135, 47.0435) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.47
Blue Blue
#2242C7
ΔE00 3.87
Cobalt
#0047AB
ΔE00 4.03
Blue (survey)
#0343DF
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 6.32
Sapphire (survey)
#2138AB
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4DB9 #B99B2F
analogous
#2F92B9 #2F4DB9 #562FB9
triadic
#2F4DB9 #B92F4D #4DB92F
tetradic
#2F4DB9 #B92F92 #B99B2F #2FB956
square
#2F4DB9 #B92F92 #B99B2F #2FB956
split-complementary
#2F4DB9 #B9562F #92B92F
monochromatic
#162457 #233988 #2F4DB9 #526ED3 #8397DF
Accessibility & contrast
On white
7.28
#2F4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#2F4DB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4DB9
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4DB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4DB9 | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f4db9; /* rgb */ color: rgb(47, 77, 185); /* oklch */ color: oklch(46.5% 0.174 267.3);
Tailwind
colors: {
custom: {
50: '#7b7ecf',
500: '#2f4db9',
950: '#000000',
},
}SCSS
$custom: #2f4db9; $custom-light: #7b7ecf; $custom-dark: #000000;
JSON
{
"hex": "#2f4db9",
"rgb": {
"r": 47,
"g": 77,
"b": 185
},
"hsl": {
"h": 226.957,
"s": 59.483,
"l": 45.49
},
"oklch": {
"l": 0.46521,
"c": 0.17398,
"h": 267.3
},
"luminance": 0.09415
}Semantic roles & 50–950 ramp
primary
#2F4DB9
secondary
#C9B87B
accent
#C045E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82