#2F4CB6#2F4CB6
#2F4CB6 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.171 H 267.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4CB6 |
|---|---|
| RGB | rgb(47, 76, 182) |
| HSL | hsl(227, 59%, 45%) |
| HSV | hsv(227, 74%, 71%) |
| CMYK | cmyk(74.2%, 58.2%, 0%, 28.6%) |
| CIE-LAB | lab(36.27, 26.90, -59.26) |
| CIE-LCH | lch(36.27, 65.08, 294.41°) |
| OKLab | oklab(46.07% -0.0075 -0.171) |
| OKLCH | oklch(46.07% 0.171 267.5) |
| XYZ | xyz(12.1973, 9.1493, 45.3701) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.64
Cobalt
#0047AB
ΔE00 3.74
Blue Blue
#2242C7
ΔE00 3.85
Blue (survey)
#0343DF
ΔE00 5.67
Sapphire (survey)
#2138AB
ΔE00 6.09
Ocean Blue
#4F42B5
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4CB6 #B6992F
analogous
#2F90B6 #2F4CB6 #552FB6
triadic
#2F4CB6 #B62F4C #4CB62F
tetradic
#2F4CB6 #B62F90 #B6992F #2FB655
square
#2F4CB6 #B62F90 #B6992F #2FB655
split-complementary
#2F4CB6 #B6552F #90B62F
monochromatic
#162355 #223885 #2F4CB6 #506CD2 #8195DE
Accessibility & contrast
On white
7.42
#2F4CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2F4CB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4CB6
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4CB6 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4cb6; /* rgb */ color: rgb(47, 76, 182); /* oklch */ color: oklch(46.1% 0.171 267.5);
Tailwind
colors: {
custom: {
50: '#7b7dcd',
500: '#2f4cb6',
950: '#000000',
},
}SCSS
$custom: #2f4cb6; $custom-light: #7b7dcd; $custom-dark: #000000;
JSON
{
"hex": "#2f4cb6",
"rgb": {
"r": 47,
"g": 76,
"b": 182
},
"hsl": {
"h": 227.111,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.46074,
"c": 0.17115,
"h": 267.5
},
"luminance": 0.09151
}Semantic roles & 50–950 ramp
primary
#2F4CB6
secondary
#C7B779
accent
#C146E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82