#2D52C3#2D52C3
#2D52C3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.182 H 265.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2D52C3 |
|---|---|
| RGB | rgb(45, 82, 195) |
| HSL | hsl(225, 63%, 47%) |
| HSV | hsv(225, 77%, 76%) |
| CMYK | cmyk(76.9%, 57.9%, 0%, 23.5%) |
| CIE-LAB | lab(38.78, 27.60, -62.80) |
| CIE-LCH | lch(38.78, 68.60, 293.73°) |
| OKLab | oklab(48.25% -0.013 -0.1813) |
| OKLCH | oklch(48.25% 0.182 265.9) |
| XYZ | xyz(13.9463, 10.5310, 52.9169) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.96
Blue Blue
#2242C7
ΔE00 4.96
Cobalt
#0047AB
ΔE00 5.28
Warm Blue
#4B57DB
ΔE00 5.32
Blue (survey)
#0343DF
ΔE00 5.53
Azul
#1D5DEC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D52C3 #C39E2D
analogous
#2D9DC3 #2D52C3 #532DC3
triadic
#2D52C3 #C32D52 #52C32D
tetradic
#2D52C3 #C32D9D #C39E2D #2DC353
square
#2D52C3 #C32D9D #C39E2D #2DC353
split-complementary
#2D52C3 #C3532D #9DC32D
monochromatic
#162860 #223D91 #2D52C3 #5576D8 #879EE3
Accessibility & contrast
On white
6.76
#2D52C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2D52C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D52C3
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D52C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D52C3 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2d52c3; /* rgb */ color: rgb(45, 82, 195); /* oklch */ color: oklch(48.2% 0.182 265.9);
Tailwind
colors: {
custom: {
50: '#7d82d6',
500: '#2d52c3',
950: '#000000',
},
}SCSS
$custom: #2d52c3; $custom-light: #7d82d6; $custom-dark: #000000;
JSON
{
"hex": "#2d52c3",
"rgb": {
"r": 45,
"g": 82,
"b": 195
},
"hsl": {
"h": 225.2,
"s": 62.5,
"l": 47.059
},
"oklch": {
"l": 0.48248,
"c": 0.18179,
"h": 265.9
},
"luminance": 0.10533
}Semantic roles & 50–950 ramp
primary
#2D52C3
secondary
#CDBA7F
accent
#BD42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83