#4C58BA#4C58BA
#4C58BA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.153 H 274.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4C58BA |
|---|---|
| RGB | rgb(76, 88, 186) |
| HSL | hsl(233, 44%, 51%) |
| HSV | hsv(233, 59%, 73%) |
| CMYK | cmyk(59.1%, 52.7%, 0%, 27.1%) |
| CIE-LAB | lab(41.31, 25.14, -53.37) |
| CIE-LCH | lch(41.31, 58.99, 295.22°) |
| OKLab | oklab(50.38% 0.0114 -0.1528) |
| OKLCH | oklch(50.38% 0.153 274.3) |
| XYZ | xyz(15.3302, 12.0599, 47.9648) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.33
Warm Blue
#4B57DB
ΔE00 4.56
Dark Periwinkle
#665FD1
ΔE00 5.82
Slate Blue
#6A5ACD
ΔE00 6.08
Sapphire
#0F52BA
ΔE00 6.21
Dusky Blue
#475F94
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C58BA #BAAE4C
analogous
#4C8FBA #4C58BA #774CBA
triadic
#4C58BA #BA4C58 #58BA4C
tetradic
#4C58BA #BA4C8F #BAAE4C #4CBA77
square
#4C58BA #BA4C8F #BAAE4C #4CBA77
split-complementary
#4C58BA #BA774C #8FBA4C
monochromatic
#272E65 #384291 #4C58BA #7881CB #A4AADC
Accessibility & contrast
On white
6.15
#4C58BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#4C58BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C58BA
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C58BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C58BA | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E66BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4c58ba; /* rgb */ color: rgb(76, 88, 186); /* oklch */ color: oklch(50.4% 0.153 274.3);
Tailwind
colors: {
custom: {
50: '#8887cf',
500: '#4c58ba',
950: '#000000',
},
}SCSS
$custom: #4c58ba; $custom-light: #8887cf; $custom-dark: #000000;
JSON
{
"hex": "#4c58ba",
"rgb": {
"r": 76,
"g": 88,
"b": 186
},
"hsl": {
"h": 233.455,
"s": 44.355,
"l": 51.373
},
"oklch": {
"l": 0.50378,
"c": 0.15327,
"h": 274.3
},
"luminance": 0.12061
}Semantic roles & 50–950 ramp
primary
#4C58BA
secondary
#C9C499
accent
#C654D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82