#2F4DB3#2F4DB3
#2F4DB3 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.166 H 267.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4DB3 |
|---|---|
| RGB | rgb(47, 77, 179) |
| HSL | hsl(226, 58%, 44%) |
| HSV | hsv(226, 74%, 70%) |
| CMYK | cmyk(73.7%, 57%, 0%, 29.8%) |
| CIE-LAB | lab(36.30, 25.12, -57.44) |
| CIE-LCH | lch(36.30, 62.69, 293.62°) |
| OKLab | oklab(46.02% -0.0084 -0.1656) |
| OKLCH | oklch(46.02% 0.166 267.1) |
| XYZ | xyz(11.9600, 9.1655, 43.7779) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.32
Cobalt
#0047AB
ΔE00 3.53
Blue Blue
#2242C7
ΔE00 4.42
Cobalt (survey)
#1E488F
ΔE00 5.80
Blue (survey)
#0343DF
ΔE00 6.21
Sapphire (survey)
#2138AB
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4DB3 #B3952F
analogous
#2F8FB3 #2F4DB3 #532FB3
triadic
#2F4DB3 #B32F4D #4DB32F
tetradic
#2F4DB3 #B32F8F #B3952F #2FB353
square
#2F4DB3 #B32F8F #B3952F #2FB353
split-complementary
#2F4DB3 #B3532F #8FB32F
monochromatic
#162352 #223883 #2F4DB3 #4F6CD1 #7F94DD
Accessibility & contrast
On white
7.41
#2F4DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#2F4DB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4DB3
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4DB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4DB3 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4db3; /* rgb */ color: rgb(47, 77, 179); /* oklch */ color: oklch(46.0% 0.166 267.1);
Tailwind
colors: {
custom: {
50: '#7a7ecb',
500: '#2f4db3',
950: '#000000',
},
}SCSS
$custom: #2f4db3; $custom-light: #7a7ecb; $custom-dark: #000000;
JSON
{
"hex": "#2f4db3",
"rgb": {
"r": 47,
"g": 77,
"b": 179
},
"hsl": {
"h": 226.364,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.46024,
"c": 0.16584,
"h": 267.1
},
"luminance": 0.09167
}Semantic roles & 50–950 ramp
primary
#2F4DB3
secondary
#C6B478
accent
#BE46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82