#2F4DB0#2F4DB0
#2F4DB0 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.162 H 267.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4DB0 |
|---|---|
| RGB | rgb(47, 77, 176) |
| HSL | hsl(226, 58%, 44%) |
| HSV | hsv(226, 73%, 69%) |
| CMYK | cmyk(73.3%, 56.2%, 0%, 31%) |
| CIE-LAB | lab(36.07, 23.99, -56.04) |
| CIE-LCH | lch(36.07, 60.96, 293.18°) |
| OKLab | oklab(45.78% -0.0085 -0.1615) |
| OKLCH | oklch(45.78% 0.162 267) |
| XYZ | xyz(11.6599, 9.0454, 42.1973) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.33
Cobalt
#0047AB
ΔE00 3.34
Blue Blue
#2242C7
ΔE00 4.73
Cobalt (survey)
#1E488F
ΔE00 5.41
Dusk Blue
#26538D
ΔE00 6.33
Sapphire (survey)
#2138AB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4DB0 #B0922F
analogous
#2F8DB0 #2F4DB0 #512FB0
triadic
#2F4DB0 #B02F4D #4DB02F
tetradic
#2F4DB0 #B02F8D #B0922F #2FB051
square
#2F4DB0 #B02F8D #B0922F #2FB051
split-complementary
#2F4DB0 #B0512F #8DB02F
monochromatic
#15234F #223880 #2F4DB0 #4D6BCF #7D93DC
Accessibility & contrast
On white
7.47
#2F4DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2F4DB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4DB0
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4DB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4DB0 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4db0; /* rgb */ color: rgb(47, 77, 176); /* oklch */ color: oklch(45.8% 0.162 267.0);
Tailwind
colors: {
custom: {
50: '#797ec8',
500: '#2f4db0',
950: '#000000',
},
}SCSS
$custom: #2f4db0; $custom-light: #797ec8; $custom-dark: #000000;
JSON
{
"hex": "#2f4db0",
"rgb": {
"r": 47,
"g": 77,
"b": 176
},
"hsl": {
"h": 226.047,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.4578,
"c": 0.16173,
"h": 267
},
"luminance": 0.09047
}Semantic roles & 50–950 ramp
primary
#2F4DB0
secondary
#C5B376
accent
#BD47E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82