#2F4DB5#2F4DB5
#2F4DB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.169 H 267.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4DB5 |
|---|---|
| RGB | rgb(47, 77, 181) |
| HSL | hsl(227, 59%, 45%) |
| HSV | hsv(227, 74%, 71%) |
| CMYK | cmyk(74%, 57.5%, 0%, 29%) |
| CIE-LAB | lab(36.46, 25.87, -58.37) |
| CIE-LCH | lch(36.46, 63.84, 293.90°) |
| OKLab | oklab(46.19% -0.0083 -0.1684) |
| OKLCH | oklch(46.19% 0.169 267.2) |
| XYZ | xyz(12.1638, 9.2470, 44.8509) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.35
Cobalt
#0047AB
ΔE00 3.68
Blue Blue
#2242C7
ΔE00 4.22
Blue (survey)
#0343DF
ΔE00 5.96
Cobalt (survey)
#1E488F
ΔE00 6.07
Sapphire (survey)
#2138AB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4DB5 #B5972F
analogous
#2F90B5 #2F4DB5 #542FB5
triadic
#2F4DB5 #B52F4D #4DB52F
tetradic
#2F4DB5 #B52F90 #B5972F #2FB554
square
#2F4DB5 #B52F90 #B5972F #2FB554
split-complementary
#2F4DB5 #B5542F #90B52F
monochromatic
#162454 #223884 #2F4DB5 #506DD1 #8095DE
Accessibility & contrast
On white
7.37
#2F4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2F4DB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4DB5
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4DB5 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2f4db5; /* rgb */ color: rgb(47, 77, 181); /* oklch */ color: oklch(46.2% 0.169 267.2);
Tailwind
colors: {
custom: {
50: '#7a7ecc',
500: '#2f4db5',
950: '#000000',
},
}SCSS
$custom: #2f4db5; $custom-light: #7a7ecc; $custom-dark: #000000;
JSON
{
"hex": "#2f4db5",
"rgb": {
"r": 47,
"g": 77,
"b": 181
},
"hsl": {
"h": 226.567,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.46188,
"c": 0.16856,
"h": 267.2
},
"luminance": 0.09248
}Semantic roles & 50–950 ramp
primary
#2F4DB5
secondary
#C7B679
accent
#BF46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82