#2F52D3#2F52D3
#2F52D3 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 49.7% C 0.202 H 266.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2F52D3 |
|---|---|
| RGB | rgb(47, 82, 211) |
| HSL | hsl(227, 65%, 51%) |
| HSV | hsv(227, 78%, 83%) |
| CMYK | cmyk(77.7%, 61.1%, 0%, 17.3%) |
| CIE-LAB | lab(40.15, 33.73, -69.82) |
| CIE-LCH | lch(40.15, 77.54, 295.79°) |
| OKLab | oklab(49.69% -0.0111 -0.2019) |
| OKLCH | oklch(49.69% 0.202 266.9) |
| XYZ | xyz(15.9433, 11.3402, 62.9640) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.56
Blue (survey)
#0343DF
ΔE00 4.48
Azul
#1D5DEC
ΔE00 4.70
Sapphire
#0F52BA
ΔE00 4.87
Blue Blue
#2242C7
ΔE00 5.01
Electric Blue
#0652FF
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F52D3 #D3B02F
analogous
#2FA4D3 #2F52D3 #5E2FD3
triadic
#2F52D3 #D32F52 #52D32F
tetradic
#2F52D3 #D32FA4 #D3B02F #2FD35E
square
#2F52D3 #D32FA4 #D3B02F #2FD35E
split-complementary
#2F52D3 #D35E2F #A4D32F
monochromatic
#182B70 #223EA2 #2F52D3 #627CDE #94A6E8
Accessibility & contrast
On white
6.43
#2F52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2F52D3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F52D3
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F52D3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F52D3 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0057D1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f52d3; /* rgb */ color: rgb(47, 82, 211); /* oklch */ color: oklch(49.7% 0.202 266.9);
Tailwind
colors: {
custom: {
50: '#8182e2',
500: '#2f52d3',
950: '#000000',
},
}SCSS
$custom: #2f52d3; $custom-light: #8182e2; $custom-dark: #000000;
JSON
{
"hex": "#2f52d3",
"rgb": {
"r": 47,
"g": 82,
"b": 211
},
"hsl": {
"h": 227.195,
"s": 65.079,
"l": 50.588
},
"oklch": {
"l": 0.49692,
"c": 0.20221,
"h": 266.9
},
"luminance": 0.11342
}Semantic roles & 50–950 ramp
primary
#2F52D3
secondary
#D3C48A
accent
#C440E8
background
#F8F7FE
surface
#F0EEFC
border
#CBC9D5
text
#0C0A15
muted
#7D7C84