#2F52B4#2F52B4
#2F52B4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.161 H 265.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52B4 |
|---|---|
| RGB | rgb(47, 82, 180) |
| HSL | hsl(224, 59%, 45%) |
| HSV | hsv(224, 74%, 71%) |
| CMYK | cmyk(73.9%, 54.4%, 0%, 29.4%) |
| CIE-LAB | lab(37.72, 22.20, -55.72) |
| CIE-LCH | lch(37.72, 59.98, 291.72°) |
| OKLab | oklab(47.12% -0.0122 -0.1605) |
| OKLCH | oklch(47.12% 0.161 265.6) |
| XYZ | xyz(12.4249, 9.9329, 44.4336) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.28
Cobalt
#0047AB
ΔE00 4.21
Denim Blue
#3B5B92
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 5.80
Dusk Blue
#26538D
ΔE00 5.94
Cobalt (survey)
#1E488F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52B4 #B4912F
analogous
#2F94B4 #2F52B4 #4F2FB4
triadic
#2F52B4 #B42F52 #52B42F
tetradic
#2F52B4 #B42F94 #B4912F #2FB44F
square
#2F52B4 #B42F94 #B4912F #2FB44F
split-complementary
#2F52B4 #B44F2F #94B42F
monochromatic
#162653 #223C83 #2F52B4 #4F71D1 #8098DE
Accessibility & contrast
On white
7.03
#2F52B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#2F52B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F52B4
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52B4 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FB7
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f52b4; /* rgb */ color: rgb(47, 82, 180); /* oklch */ color: oklch(47.1% 0.161 265.6);
Tailwind
colors: {
custom: {
50: '#7a82cb',
500: '#2f52b4',
950: '#000000',
},
}SCSS
$custom: #2f52b4; $custom-light: #7a82cb; $custom-dark: #000000;
JSON
{
"hex": "#2f52b4",
"rgb": {
"r": 47,
"g": 82,
"b": 180
},
"hsl": {
"h": 224.211,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.47117,
"c": 0.16096,
"h": 265.6
},
"luminance": 0.09934
}Semantic roles & 50–950 ramp
primary
#2F52B4
secondary
#C7B278
accent
#B946E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82