#2F52B3#2F52B3
#2F52B3 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.160 H 265.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52B3 |
|---|---|
| RGB | rgb(47, 82, 179) |
| HSL | hsl(224, 58%, 44%) |
| HSV | hsv(224, 74%, 70%) |
| CMYK | cmyk(73.7%, 54.2%, 0%, 29.8%) |
| CIE-LAB | lab(37.65, 21.82, -55.25) |
| CIE-LCH | lch(37.65, 59.41, 291.55°) |
| OKLab | oklab(47.04% -0.0123 -0.1591) |
| OKLCH | oklch(47.04% 0.16 265.6) |
| XYZ | xyz(12.3234, 9.8923, 43.8990) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.28
Cobalt
#0047AB
ΔE00 4.16
Denim Blue
#3B5B92
ΔE00 5.44
Dusk Blue
#26538D
ΔE00 5.81
Blue Blue
#2242C7
ΔE00 5.88
Cobalt (survey)
#1E488F
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52B3 #B3902F
analogous
#2F94B3 #2F52B3 #4E2FB3
triadic
#2F52B3 #B32F52 #52B32F
tetradic
#2F52B3 #B32F94 #B3902F #2FB34E
square
#2F52B3 #B32F94 #B3902F #2FB34E
split-complementary
#2F52B3 #B34E2F #94B32F
monochromatic
#162652 #223C83 #2F52B3 #4F71D1 #7F98DD
Accessibility & contrast
On white
7.05
#2F52B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2F52B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F52B3
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52B3 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#035FB6
Deuteranopia (green-blind)
#0053B1
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2f52b3; /* rgb */ color: rgb(47, 82, 179); /* oklch */ color: oklch(47.0% 0.160 265.6);
Tailwind
colors: {
custom: {
50: '#7a82ca',
500: '#2f52b3',
950: '#000000',
},
}SCSS
$custom: #2f52b3; $custom-light: #7a82ca; $custom-dark: #000000;
JSON
{
"hex": "#2f52b3",
"rgb": {
"r": 47,
"g": 82,
"b": 179
},
"hsl": {
"h": 224.091,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.47039,
"c": 0.15959,
"h": 265.6
},
"luminance": 0.09894
}Semantic roles & 50–950 ramp
primary
#2F52B3
secondary
#C6B178
accent
#B846E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82