#3852CD#3852CD
#3852CD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.192 H 269.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #3852CD |
|---|---|
| RGB | rgb(56, 82, 205) |
| HSL | hsl(230, 60%, 51%) |
| HSV | hsv(230, 73%, 80%) |
| CMYK | cmyk(72.7%, 60%, 0%, 19.6%) |
| CIE-LAB | lab(40.05, 32.53, -66.50) |
| CIE-LCH | lch(40.05, 74.03, 296.07°) |
| OKLab | oklab(49.58% -0.0033 -0.192) |
| OKLCH | oklch(49.58% 0.192 269) |
| XYZ | xyz(15.6638, 11.2815, 59.0978) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.42
Blue (survey)
#0343DF
ΔE00 4.80
Blue Blue
#2242C7
ΔE00 4.89
Sapphire
#0F52BA
ΔE00 4.99
Azul
#1D5DEC
ΔE00 5.32
Electric Blue
#0652FF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3852CD #CDB338
analogous
#389CCD #3852CD #6838CD
triadic
#3852CD #CD3852 #52CD38
tetradic
#3852CD #CD389C #CDB338 #38CD68
square
#3852CD #CD389C #CDB338 #38CD68
split-complementary
#3852CD #CD6838 #9CCD38
monochromatic
#1C2A6F #283DA0 #3852CD #697DD9 #9AA7E6
Accessibility & contrast
On white
6.45
#3852CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#3852CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3852CD
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3852CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3852CD | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0058CB
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3852cd; /* rgb */ color: rgb(56, 82, 205); /* oklch */ color: oklch(49.6% 0.192 269.0);
Tailwind
colors: {
custom: {
50: '#8382dd',
500: '#3852cd',
950: '#000000',
},
}SCSS
$custom: #3852cd; $custom-light: #8382dd; $custom-dark: #000000;
JSON
{
"hex": "#3852cd",
"rgb": {
"r": 56,
"g": 82,
"b": 205
},
"hsl": {
"h": 229.53,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.49576,
"c": 0.19203,
"h": 269
},
"luminance": 0.11283
}Semantic roles & 50–950 ramp
primary
#3852CD
secondary
#D1C68F
accent
#C745E3
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83