#2F4EBB#2F4EBB
#2F4EBB is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.175 H 267.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EBB |
|---|---|
| RGB | rgb(47, 78, 187) |
| HSL | hsl(227, 60%, 46%) |
| HSV | hsv(227, 75%, 73%) |
| CMYK | cmyk(74.9%, 58.3%, 0%, 26.7%) |
| CIE-LAB | lab(37.19, 27.45, -60.71) |
| CIE-LCH | lch(37.19, 66.63, 294.33°) |
| OKLab | oklab(46.88% -0.0088 -0.1752) |
| OKLCH | oklch(46.88% 0.175 267.1) |
| XYZ | xyz(12.8632, 9.6396, 48.1868) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.31
Blue Blue
#2242C7
ΔE00 4.02
Cobalt
#0047AB
ΔE00 4.26
Blue (survey)
#0343DF
ΔE00 5.41
Warm Blue
#4B57DB
ΔE00 6.29
Ocean Blue
#4F42B5
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EBB #BB9C2F
analogous
#2F94BB #2F4EBB #562FBB
triadic
#2F4EBB #BB2F4E #4EBB2F
tetradic
#2F4EBB #BB2F94 #BB9C2F #2FBB56
square
#2F4EBB #BB2F94 #BB9C2F #2FBB56
split-complementary
#2F4EBB #BB562F #94BB2F
monochromatic
#162559 #233A8A #2F4EBB #5370D4 #8499E0
Accessibility & contrast
On white
7.17
#2F4EBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2F4EBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EBB
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EBB | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f4ebb; /* rgb */ color: rgb(47, 78, 187); /* oklch */ color: oklch(46.9% 0.175 267.1);
Tailwind
colors: {
custom: {
50: '#7c7fd0',
500: '#2f4ebb',
950: '#000000',
},
}SCSS
$custom: #2f4ebb; $custom-light: #7c7fd0; $custom-dark: #000000;
JSON
{
"hex": "#2f4ebb",
"rgb": {
"r": 47,
"g": 78,
"b": 187
},
"hsl": {
"h": 226.714,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.46883,
"c": 0.17544,
"h": 267.1
},
"luminance": 0.09641
}Semantic roles & 50–950 ramp
primary
#2F4EBB
secondary
#C9B87C
accent
#C045E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82