#2F4BB0#2F4BB0
#2F4BB0 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.164 H 267.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BB0 |
|---|---|
| RGB | rgb(47, 75, 176) |
| HSL | hsl(227, 58%, 44%) |
| HSV | hsv(227, 73%, 69%) |
| CMYK | cmyk(73.3%, 57.4%, 0%, 31%) |
| CIE-LAB | lab(35.54, 25.31, -56.91) |
| CIE-LCH | lch(35.54, 62.28, 293.98°) |
| OKLab | oklab(45.38% -0.007 -0.1641) |
| OKLCH | oklch(45.38% 0.164 267.6) |
| XYZ | xyz(11.5221, 8.7699, 42.1514) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.29
Sapphire
#0F52BA
ΔE00 3.86
Blue Blue
#2242C7
ΔE00 4.24
Cobalt (survey)
#1E488F
ΔE00 5.51
Sapphire (survey)
#2138AB
ΔE00 5.75
Ocean Blue
#4F42B5
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BB0 #B0942F
analogous
#2F8BB0 #2F4BB0 #532FB0
triadic
#2F4BB0 #B02F4B #4BB02F
tetradic
#2F4BB0 #B02F8B #B0942F #2FB053
square
#2F4BB0 #B02F8B #B0942F #2FB053
split-complementary
#2F4BB0 #B0532F #8BB02F
monochromatic
#15224F #223680 #2F4BB0 #4D69CF #7D92DC
Accessibility & contrast
On white
7.62
#2F4BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2F4BB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BB0
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BB0 | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f4bb0; /* rgb */ color: rgb(47, 75, 176); /* oklch */ color: oklch(45.4% 0.164 267.6);
Tailwind
colors: {
custom: {
50: '#797cc8',
500: '#2f4bb0',
950: '#000000',
},
}SCSS
$custom: #2f4bb0; $custom-light: #797cc8; $custom-dark: #000000;
JSON
{
"hex": "#2f4bb0",
"rgb": {
"r": 47,
"g": 75,
"b": 176
},
"hsl": {
"h": 226.977,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.45379,
"c": 0.16424,
"h": 267.6
},
"luminance": 0.08771
}Semantic roles & 50–950 ramp
primary
#2F4BB0
secondary
#C5B476
accent
#C047E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82