#2F4FB6#2F4FB6
#2F4FB6 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.167 H 266.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FB6 |
|---|---|
| RGB | rgb(47, 79, 182) |
| HSL | hsl(226, 59%, 45%) |
| HSV | hsv(226, 74%, 71%) |
| CMYK | cmyk(74.2%, 56.6%, 0%, 28.6%) |
| CIE-LAB | lab(37.06, 24.93, -57.97) |
| CIE-LCH | lch(37.06, 63.10, 293.27°) |
| OKLab | oklab(46.67% -0.0097 -0.1672) |
| OKLCH | oklch(46.67% 0.167 266.7) |
| XYZ | xyz(12.4088, 9.5724, 45.4406) |
| Luminance | 0.0957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.88
Cobalt
#0047AB
ΔE00 3.90
Blue Blue
#2242C7
ΔE00 4.71
Cobalt (survey)
#1E488F
ΔE00 6.17
Blue (survey)
#0343DF
ΔE00 6.19
Denim Blue
#3B5B92
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FB6 #B6962F
analogous
#2F92B6 #2F4FB6 #532FB6
triadic
#2F4FB6 #B62F4F #4FB62F
tetradic
#2F4FB6 #B62F92 #B6962F #2FB653
square
#2F4FB6 #B62F92 #B6962F #2FB653
split-complementary
#2F4FB6 #B6532F #92B62F
monochromatic
#162555 #223A85 #2F4FB6 #506FD2 #8197DE
Accessibility & contrast
On white
7.20
#2F4FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2F4FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4FB6
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FB6 | 1.00 | 7.20 | 2.91 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2f4fb6; /* rgb */ color: rgb(47, 79, 182); /* oklch */ color: oklch(46.7% 0.167 266.7);
Tailwind
colors: {
custom: {
50: '#7b7fcd',
500: '#2f4fb6',
950: '#000000',
},
}SCSS
$custom: #2f4fb6; $custom-light: #7b7fcd; $custom-dark: #000000;
JSON
{
"hex": "#2f4fb6",
"rgb": {
"r": 47,
"g": 79,
"b": 182
},
"hsl": {
"h": 225.778,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.46669,
"c": 0.16744,
"h": 266.7
},
"luminance": 0.09574
}Semantic roles & 50–950 ramp
primary
#2F4FB6
secondary
#C7B579
accent
#BD46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82