#2F4EB0#2F4EB0
#2F4EB0 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.160 H 266.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4EB0 |
|---|---|
| RGB | rgb(47, 78, 176) |
| HSL | hsl(226, 58%, 44%) |
| HSV | hsv(226, 73%, 69%) |
| CMYK | cmyk(73.3%, 55.7%, 0%, 31%) |
| CIE-LAB | lab(36.34, 23.33, -55.60) |
| CIE-LCH | lch(36.34, 60.30, 292.77°) |
| OKLab | oklab(45.98% -0.0093 -0.1602) |
| OKLCH | oklch(45.98% 0.16 266.7) |
| XYZ | xyz(11.7304, 9.1865, 42.2208) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.08
Cobalt
#0047AB
ΔE00 3.42
Blue Blue
#2242C7
ΔE00 5.00
Cobalt (survey)
#1E488F
ΔE00 5.40
Dusk Blue
#26538D
ΔE00 6.13
Denim Blue
#3B5B92
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4EB0 #B0912F
analogous
#2F8EB0 #2F4EB0 #502FB0
triadic
#2F4EB0 #B02F4E #4EB02F
tetradic
#2F4EB0 #B02F8E #B0912F #2FB050
square
#2F4EB0 #B02F8E #B0912F #2FB050
split-complementary
#2F4EB0 #B0502F #8EB02F
monochromatic
#15234F #223980 #2F4EB0 #4D6CCF #7D94DC
Accessibility & contrast
On white
7.40
#2F4EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2F4EB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4EB0
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4EB0 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4eb0; /* rgb */ color: rgb(47, 78, 176); /* oklch */ color: oklch(46.0% 0.160 266.7);
Tailwind
colors: {
custom: {
50: '#797fc8',
500: '#2f4eb0',
950: '#000000',
},
}SCSS
$custom: #2f4eb0; $custom-light: #797fc8; $custom-dark: #000000;
JSON
{
"hex": "#2f4eb0",
"rgb": {
"r": 47,
"g": 78,
"b": 176
},
"hsl": {
"h": 225.581,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.45982,
"c": 0.16047,
"h": 266.7
},
"luminance": 0.09188
}Semantic roles & 50–950 ramp
primary
#2F4EB0
secondary
#C5B276
accent
#BC47E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82