#2F52B2#2F52B2
#2F52B2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.158 H 265.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52B2 |
|---|---|
| RGB | rgb(47, 82, 178) |
| HSL | hsl(224, 58%, 44%) |
| HSV | hsv(224, 74%, 70%) |
| CMYK | cmyk(73.6%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(37.58, 21.45, -54.78) |
| CIE-LCH | lch(37.58, 58.83, 291.38°) |
| OKLab | oklab(46.96% -0.0124 -0.1577) |
| OKLCH | oklch(46.96% 0.158 265.5) |
| XYZ | xyz(12.2226, 9.8520, 43.3683) |
| Luminance | 0.0985 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.29
Cobalt
#0047AB
ΔE00 4.11
Denim Blue
#3B5B92
ΔE00 5.34
Dusk Blue
#26538D
ΔE00 5.69
Cobalt (survey)
#1E488F
ΔE00 5.81
Blue Blue
#2242C7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52B2 #B28F2F
analogous
#2F94B2 #2F52B2 #4D2FB2
triadic
#2F52B2 #B22F52 #52B22F
tetradic
#2F52B2 #B22F94 #B28F2F #2FB24D
square
#2F52B2 #B22F94 #B28F2F #2FB24D
split-complementary
#2F52B2 #B24D2F #94B22F
monochromatic
#152551 #223C82 #2F52B2 #4E71D0 #7E98DD
Accessibility & contrast
On white
7.07
#2F52B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#2F52B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F52B2
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52B2 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#065FB5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2f52b2; /* rgb */ color: rgb(47, 82, 178); /* oklch */ color: oklch(47.0% 0.158 265.5);
Tailwind
colors: {
custom: {
50: '#7982ca',
500: '#2f52b2',
950: '#000000',
},
}SCSS
$custom: #2f52b2; $custom-light: #7982ca; $custom-dark: #000000;
JSON
{
"hex": "#2f52b2",
"rgb": {
"r": 47,
"g": 82,
"b": 178
},
"hsl": {
"h": 223.969,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.4696,
"c": 0.15821,
"h": 265.5
},
"luminance": 0.09853
}Semantic roles & 50–950 ramp
primary
#2F52B2
secondary
#C6B177
accent
#B846E1
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82