#4258CB#4258CB
#4258CB is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.179 H 270.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4258CB |
|---|---|
| RGB | rgb(66, 88, 203) |
| HSL | hsl(230, 57%, 53%) |
| HSV | hsv(230, 67%, 80%) |
| CMYK | cmyk(67.5%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(41.92, 29.34, -62.28) |
| CIE-LCH | lch(41.92, 68.85, 295.22°) |
| OKLab | oklab(51.06% 0.0017 -0.1793) |
| OKLCH | oklch(51.06% 0.179 270.5) |
| XYZ | xyz(16.5123, 12.4479, 58.0208) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.77
Azul
#1D5DEC
ΔE00 4.69
Iris
#6258C4
ΔE00 5.24
Sapphire
#0F52BA
ΔE00 5.62
Dark Periwinkle
#665FD1
ΔE00 5.87
Electric Blue
#0652FF
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4258CB #CBB542
analogous
#429CCB #4258CB #7042CB
triadic
#4258CB #CB4258 #58CB42
tetradic
#4258CB #CB429C #CBB542 #42CB70
square
#4258CB #CB429C #CBB542 #42CB70
split-complementary
#4258CB #CB7042 #9CCB42
monochromatic
#202D73 #2D40A3 #4258CB #7282D8 #A2ADE5
Accessibility & contrast
On white
6.02
#4258CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#4258CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4258CB
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4258CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4258CB | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4258cb; /* rgb */ color: rgb(66, 88, 203); /* oklch */ color: oklch(51.1% 0.179 270.5);
Tailwind
colors: {
custom: {
50: '#8686dc',
500: '#4258cb',
950: '#000000',
},
}SCSS
$custom: #4258cb; $custom-light: #8686dc; $custom-dark: #000000;
JSON
{
"hex": "#4258cb",
"rgb": {
"r": 66,
"g": 88,
"b": 203
},
"hsl": {
"h": 230.365,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.51057,
"c": 0.17933,
"h": 270.5
},
"luminance": 0.12449
}Semantic roles & 50–950 ramp
primary
#4258CB
secondary
#D2C997
accent
#C848E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83