#2D52C8#2D52C8
#2D52C8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.7% C 0.188 H 266.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2D52C8 |
|---|---|
| RGB | rgb(45, 82, 200) |
| HSL | hsl(226, 63%, 48%) |
| HSV | hsv(226, 78%, 78%) |
| CMYK | cmyk(77.5%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(39.17, 29.47, -65.06) |
| CIE-LCH | lch(39.17, 71.42, 294.37°) |
| OKLab | oklab(48.67% -0.0128 -0.188) |
| OKLCH | oklch(48.67% 0.188 266.1) |
| XYZ | xyz(14.5211, 10.7609, 55.9441) |
| Luminance | 0.1076 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.48
Warm Blue
#4B57DB
ΔE00 4.77
Blue Blue
#2242C7
ΔE00 4.86
Blue (survey)
#0343DF
ΔE00 5.11
Azul
#1D5DEC
ΔE00 5.60
Cobalt
#0047AB
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D52C8 #C8A32D
analogous
#2DA0C8 #2D52C8 #552DC8
triadic
#2D52C8 #C82D52 #52C82D
tetradic
#2D52C8 #C82DA0 #C8A32D #2DC855
square
#2D52C8 #C82DA0 #C8A32D #2DC855
split-complementary
#2D52C8 #C8552D #A0C82D
monochromatic
#172964 #223E96 #2D52C8 #5977DA #8BA0E5
Accessibility & contrast
On white
6.66
#2D52C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#2D52C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D52C8
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D52C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D52C8 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2d52c8; /* rgb */ color: rgb(45, 82, 200); /* oklch */ color: oklch(48.7% 0.188 266.1);
Tailwind
colors: {
custom: {
50: '#7e82da',
500: '#2d52c8',
950: '#000000',
},
}SCSS
$custom: #2d52c8; $custom-light: #7e82da; $custom-dark: #000000;
JSON
{
"hex": "#2d52c8",
"rgb": {
"r": 45,
"g": 82,
"b": 200
},
"hsl": {
"h": 225.677,
"s": 63.265,
"l": 48.039
},
"oklch": {
"l": 0.48668,
"c": 0.18841,
"h": 266.1
},
"luminance": 0.10763
}Semantic roles & 50–950 ramp
primary
#2D52C8
secondary
#CFBC82
accent
#BF41E6
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83