#4257C4#4257C4
#4257C4 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.171 H 270.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4257C4 |
|---|---|
| RGB | rgb(66, 87, 196) |
| HSL | hsl(230, 52%, 51%) |
| HSV | hsv(230, 66%, 77%) |
| CMYK | cmyk(66.3%, 55.6%, 0%, 23.1%) |
| CIE-LAB | lab(41.15, 27.51, -59.48) |
| CIE-LCH | lch(41.15, 65.53, 294.82°) |
| OKLab | oklab(50.32% 0.0023 -0.1711) |
| OKLCH | oklch(50.32% 0.171 270.8) |
| XYZ | xyz(15.6154, 11.9587, 53.6992) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.61
Sapphire
#0F52BA
ΔE00 5.11
Iris
#6258C4
ΔE00 5.31
Azul
#1D5DEC
ΔE00 5.54
Dark Periwinkle
#665FD1
ΔE00 6.32
Blue Blue
#2242C7
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4257C4 #C4AF42
analogous
#4298C4 #4257C4 #6E42C4
triadic
#4257C4 #C44257 #57C442
tetradic
#4257C4 #C44298 #C4AF42 #42C46E
square
#4257C4 #C44298 #C4AF42 #42C46E
split-complementary
#4257C4 #C46E42 #98C442
monochromatic
#212D6A #304199 #4257C4 #7180D3 #9FAAE1
Accessibility & contrast
On white
6.19
#4257C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#4257C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4257C4
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4257C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4257C4 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4257c4; /* rgb */ color: rgb(66, 87, 196); /* oklch */ color: oklch(50.3% 0.171 270.8);
Tailwind
colors: {
custom: {
50: '#8586d7',
500: '#4257c4',
950: '#000000',
},
}SCSS
$custom: #4257c4; $custom-light: #8586d7; $custom-dark: #000000;
JSON
{
"hex": "#4257c4",
"rgb": {
"r": 66,
"g": 87,
"b": 196
},
"hsl": {
"h": 230.308,
"s": 52.419,
"l": 51.373
},
"oklch": {
"l": 0.5032,
"c": 0.1711,
"h": 270.8
},
"luminance": 0.1196
}Semantic roles & 50–950 ramp
primary
#4257C4
secondary
#CEC494
accent
#C54CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83