#4F58BC#4F58BC
#4F58BC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.155 H 275.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4F58BC |
|---|---|
| RGB | rgb(79, 88, 188) |
| HSL | hsl(235, 45%, 52%) |
| HSV | hsv(235, 58%, 74%) |
| CMYK | cmyk(58%, 53.2%, 0%, 26.3%) |
| CIE-LAB | lab(41.64, 26.39, -53.99) |
| CIE-LCH | lch(41.64, 60.09, 296.05°) |
| OKLab | oklab(50.72% 0.0149 -0.1546) |
| OKLCH | oklch(50.72% 0.155 275.5) |
| XYZ | xyz(15.7883, 12.2714, 49.1038) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.71
Warm Blue
#4B57DB
ΔE00 4.24
Dark Periwinkle
#665FD1
ΔE00 5.27
Slate Blue
#6A5ACD
ΔE00 5.46
Light Indigo
#6D5ACF
ΔE00 6.08
Sapphire
#0F52BA
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F58BC #BCB34F
analogous
#4F8EBC #4F58BC #7D4FBC
triadic
#4F58BC #BC4F58 #58BC4F
tetradic
#4F58BC #BC4F8E #BCB34F #4FBC7D
square
#4F58BC #BC4F8E #BCB34F #4FBC7D
split-complementary
#4F58BC #BC7D4F #8EBC4F
monochromatic
#282D69 #394095 #4F58BC #7B82CD #A8ACDE
Accessibility & contrast
On white
6.08
#4F58BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#4F58BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F58BC
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F58BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F58BC | 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)
#1C67BF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#036F81
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4f58bc; /* rgb */ color: rgb(79, 88, 188); /* oklch */ color: oklch(50.7% 0.155 275.5);
Tailwind
colors: {
custom: {
50: '#8a87d1',
500: '#4f58bc',
950: '#000000',
},
}SCSS
$custom: #4f58bc; $custom-light: #8a87d1; $custom-dark: #000000;
JSON
{
"hex": "#4f58bc",
"rgb": {
"r": 79,
"g": 88,
"b": 188
},
"hsl": {
"h": 235.046,
"s": 44.856,
"l": 52.353
},
"oklch": {
"l": 0.50722,
"c": 0.15531,
"h": 275.5
},
"luminance": 0.12273
}Semantic roles & 50–950 ramp
primary
#4F58BC
secondary
#CBC79C
accent
#CA53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0D0B14
muted
#7D7C82