#2D52C2#2D52C2
#2D52C2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.180 H 265.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2D52C2 |
|---|---|
| RGB | rgb(45, 82, 194) |
| HSL | hsl(225, 62%, 47%) |
| HSV | hsv(225, 77%, 76%) |
| CMYK | cmyk(76.8%, 57.7%, 0%, 23.9%) |
| CIE-LAB | lab(38.70, 27.23, -62.34) |
| CIE-LCH | lch(38.70, 68.03, 293.59°) |
| OKLab | oklab(48.17% -0.013 -0.18) |
| OKLCH | oklch(48.17% 0.18 265.9) |
| XYZ | xyz(13.8337, 10.4860, 52.3234) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.86
Blue Blue
#2242C7
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.18
Warm Blue
#4B57DB
ΔE00 5.44
Blue (survey)
#0343DF
ΔE00 5.62
Azul
#1D5DEC
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D52C2 #C29D2D
analogous
#2D9CC2 #2D52C2 #532DC2
triadic
#2D52C2 #C22D52 #52C22D
tetradic
#2D52C2 #C22D9C #C29D2D #2DC253
square
#2D52C2 #C22D9C #C29D2D #2DC253
split-complementary
#2D52C2 #C2532D #9CC22D
monochromatic
#16285F #213D90 #2D52C2 #5575D7 #869DE3
Accessibility & contrast
On white
6.78
#2D52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2D52C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D52C2
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D52C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D52C2 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2d52c2; /* rgb */ color: rgb(45, 82, 194); /* oklch */ color: oklch(48.2% 0.180 265.9);
Tailwind
colors: {
custom: {
50: '#7c82d5',
500: '#2d52c2',
950: '#000000',
},
}SCSS
$custom: #2d52c2; $custom-light: #7c82d5; $custom-dark: #000000;
JSON
{
"hex": "#2d52c2",
"rgb": {
"r": 45,
"g": 82,
"b": 194
},
"hsl": {
"h": 225.101,
"s": 62.343,
"l": 46.863
},
"oklch": {
"l": 0.48165,
"c": 0.18046,
"h": 265.9
},
"luminance": 0.10488
}Semantic roles & 50–950 ramp
primary
#2D52C2
secondary
#CDB97E
accent
#BD42E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83