#4258C7#4258C7
#4258C7 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.174 H 270.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4258C7 |
|---|---|
| RGB | rgb(66, 88, 199) |
| HSL | hsl(230, 54%, 52%) |
| HSV | hsv(230, 67%, 78%) |
| CMYK | cmyk(66.8%, 55.8%, 0%, 22%) |
| CIE-LAB | lab(41.63, 27.93, -60.45) |
| CIE-LCH | lch(41.63, 66.59, 294.80°) |
| OKLab | oklab(50.75% 0.0016 -0.1739) |
| OKLCH | oklch(50.75% 0.174 270.5) |
| XYZ | xyz(16.0418, 12.2597, 55.5427) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.28
Azul
#1D5DEC
ΔE00 5.08
Sapphire
#0F52BA
ΔE00 5.31
Iris
#6258C4
ΔE00 5.32
Dark Periwinkle
#665FD1
ΔE00 6.09
Electric Blue
#0652FF
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4258C7 #C7B142
analogous
#429BC7 #4258C7 #6F42C7
triadic
#4258C7 #C74258 #58C742
tetradic
#4258C7 #C7429B #C7B142 #42C76F
square
#4258C7 #C7429B #C7B142 #42C76F
split-complementary
#4258C7 #C76F42 #9BC742
monochromatic
#212D6E #2F419D #4258C7 #7182D5 #A0ABE3
Accessibility & contrast
On white
6.08
#4258C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#4258C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4258C7
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4258C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4258C7 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4258c7; /* rgb */ color: rgb(66, 88, 199); /* oklch */ color: oklch(50.7% 0.174 270.5);
Tailwind
colors: {
custom: {
50: '#8586d9',
500: '#4258c7',
950: '#000000',
},
}SCSS
$custom: #4258c7; $custom-light: #8586d9; $custom-dark: #000000;
JSON
{
"hex": "#4258c7",
"rgb": {
"r": 66,
"g": 88,
"b": 199
},
"hsl": {
"h": 230.075,
"s": 54.286,
"l": 51.961
},
"oklch": {
"l": 0.50745,
"c": 0.17393,
"h": 270.5
},
"luminance": 0.12261
}Semantic roles & 50–950 ramp
primary
#4258C7
secondary
#D0C695
accent
#C54ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83