#2D52C1#2D52C1
#2D52C1 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.1% C 0.179 H 265.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2D52C1 |
|---|---|
| RGB | rgb(45, 82, 193) |
| HSL | hsl(225, 62%, 47%) |
| HSV | hsv(225, 77%, 76%) |
| CMYK | cmyk(76.7%, 57.5%, 0%, 24.3%) |
| CIE-LAB | lab(38.62, 26.85, -61.89) |
| CIE-LCH | lch(38.62, 67.46, 293.46°) |
| OKLab | oklab(48.08% -0.0131 -0.1786) |
| OKLCH | oklch(48.08% 0.179 265.8) |
| XYZ | xyz(13.7217, 10.4412, 51.7339) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.77
Blue Blue
#2242C7
ΔE00 5.04
Cobalt
#0047AB
ΔE00 5.09
Warm Blue
#4B57DB
ΔE00 5.56
Blue (survey)
#0343DF
ΔE00 5.72
Denim
#1560BD
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D52C1 #C19C2D
analogous
#2D9CC1 #2D52C1 #522DC1
triadic
#2D52C1 #C12D52 #52C12D
tetradic
#2D52C1 #C12D9C #C19C2D #2DC152
square
#2D52C1 #C12D9C #C19C2D #2DC152
split-complementary
#2D52C1 #C1522D #9CC12D
monochromatic
#16285E #213D8F #2D52C1 #5475D7 #869DE3
Accessibility & contrast
On white
6.80
#2D52C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#2D52C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D52C1
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D52C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D52C1 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2d52c1; /* rgb */ color: rgb(45, 82, 193); /* oklch */ color: oklch(48.1% 0.179 265.8);
Tailwind
colors: {
custom: {
50: '#7c82d5',
500: '#2d52c1',
950: '#000000',
},
}SCSS
$custom: #2d52c1; $custom-light: #7c82d5; $custom-dark: #000000;
JSON
{
"hex": "#2d52c1",
"rgb": {
"r": 45,
"g": 82,
"b": 193
},
"hsl": {
"h": 225,
"s": 62.185,
"l": 46.667
},
"oklch": {
"l": 0.48082,
"c": 0.17913,
"h": 265.8
},
"luminance": 0.10443
}Semantic roles & 50–950 ramp
primary
#2D52C1
secondary
#CCB97E
accent
#BD43E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83