#4252CE#4252CE
#4252CE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.191 H 272.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #4252CE |
|---|---|
| RGB | rgb(66, 82, 206) |
| HSL | hsl(233, 59%, 53%) |
| HSV | hsv(233, 68%, 81%) |
| CMYK | cmyk(68%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(40.65, 34.18, -66.08) |
| CIE-LCH | lch(40.65, 74.40, 297.35°) |
| OKLab | oklab(50.19% 0.0066 -0.1905) |
| OKLCH | oklch(50.19% 0.191 272) |
| XYZ | xyz(16.4009, 11.6475, 59.7644) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.62
Blue (survey)
#0343DF
ΔE00 5.07
Iris
#6258C4
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.24
Azul
#1D5DEC
ΔE00 5.66
Electric Blue
#0652FF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4252CE #CEBE42
analogous
#4298CE #4252CE #7842CE
triadic
#4252CE #CE4252 #52CE42
tetradic
#4252CE #CE4298 #CEBE42 #42CE78
square
#4252CE #CE4298 #CEBE42 #42CE78
split-complementary
#4252CE #CE7842 #98CE42
monochromatic
#1F2977 #2B3AA7 #4252CE #737EDB #A3ABE7
Accessibility & contrast
On white
6.31
#4252CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#4252CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4252CE
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4252CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4252CE | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4252ce; /* rgb */ color: rgb(66, 82, 206); /* oklch */ color: oklch(50.2% 0.191 272.0);
Tailwind
colors: {
custom: {
50: '#8782de',
500: '#4252ce',
950: '#000000',
},
}SCSS
$custom: #4252ce; $custom-light: #8782de; $custom-dark: #000000;
JSON
{
"hex": "#4252ce",
"rgb": {
"r": 66,
"g": 82,
"b": 206
},
"hsl": {
"h": 233.143,
"s": 58.824,
"l": 53.333
},
"oklch": {
"l": 0.50185,
"c": 0.19065,
"h": 272
},
"luminance": 0.11649
}Semantic roles & 50–950 ramp
primary
#4252CE
secondary
#D4CD98
accent
#D046E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83