#4258C5#4258C5
#4258C5 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.171 H 270.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #4258C5 |
|---|---|
| RGB | rgb(66, 88, 197) |
| HSL | hsl(230, 53%, 52%) |
| HSV | hsv(230, 66%, 77%) |
| CMYK | cmyk(66.5%, 55.3%, 0%, 22.7%) |
| CIE-LAB | lab(41.48, 27.22, -59.52) |
| CIE-LCH | lch(41.48, 65.45, 294.58°) |
| OKLab | oklab(50.59% 0.0015 -0.1712) |
| OKLCH | oklch(50.59% 0.171 270.5) |
| XYZ | xyz(15.8111, 12.1675, 54.3278) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.54
Sapphire
#0F52BA
ΔE00 5.17
Azul
#1D5DEC
ΔE00 5.28
Iris
#6258C4
ΔE00 5.37
Dark Periwinkle
#665FD1
ΔE00 6.22
Royal Blue
#4169E1
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4258C5 #C5AF42
analogous
#4299C5 #4258C5 #6E42C5
triadic
#4258C5 #C54258 #58C542
tetradic
#4258C5 #C54299 #C5AF42 #42C56E
square
#4258C5 #C54299 #C5AF42 #42C56E
split-complementary
#4258C5 #C56E42 #99C542
monochromatic
#212E6C #2F419A #4258C5 #7181D3 #A0ABE2
Accessibility & contrast
On white
6.12
#4258C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#4258C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4258C5
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4258C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4258C5 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#005CC3
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4258c5; /* rgb */ color: rgb(66, 88, 197); /* oklch */ color: oklch(50.6% 0.171 270.5);
Tailwind
colors: {
custom: {
50: '#8586d7',
500: '#4258c5',
950: '#000000',
},
}SCSS
$custom: #4258c5; $custom-light: #8586d7; $custom-dark: #000000;
JSON
{
"hex": "#4258c5",
"rgb": {
"r": 66,
"g": 88,
"b": 197
},
"hsl": {
"h": 229.924,
"s": 53.036,
"l": 51.569
},
"oklch": {
"l": 0.50591,
"c": 0.17121,
"h": 270.5
},
"luminance": 0.12169
}Semantic roles & 50–950 ramp
primary
#4258C5
secondary
#CEC595
accent
#C44BDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83