#5F75DA#5F75DA
#5F75DA is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.155 H 271.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75DA |
|---|---|
| RGB | rgb(95, 117, 218) |
| HSL | hsl(229, 62%, 61%) |
| HSV | hsv(229, 56%, 85%) |
| CMYK | cmyk(56.4%, 46.3%, 0%, 14.5%) |
| CIE-LAB | lab(52.08, 21.40, -54.38) |
| CIE-LCH | lch(52.08, 58.44, 291.48°) |
| OKLab | oklab(59.48% 0.0046 -0.1551) |
| OKLCH | oklch(59.48% 0.155 271.7) |
| XYZ | xyz(23.7313, 20.2157, 68.9675) |
| Luminance | 0.2022 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.62
Cornflower
#6A79F7
ΔE00 4.46
Royal Blue
#4169E1
ΔE00 5.11
Lightish Blue
#3D7AFD
ΔE00 5.69
Soft Blue
#6488EA
ΔE00 6.64
Clear Blue
#247AFD
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75DA #DAC45F
analogous
#5FB3DA #5F75DA #875FDA
triadic
#5F75DA #DA5F75 #75DA5F
tetradic
#5F75DA #DA5FB3 #DAC45F #5FDA87
square
#5F75DA #DA5FB3 #DAC45F #5FDA87
split-complementary
#5F75DA #DA875F #B3DA5F
monochromatic
#24399B #2F4BCD #5F75DA #91A0E5 #C2CBF1
Accessibility & contrast
On white
4.16
#5F75DA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#5F75DA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75DA
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75DA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75DA | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4682DE
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#0F8B9D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5f75da; /* rgb */ color: rgb(95, 117, 218); /* oklch */ color: oklch(59.5% 0.155 271.7);
Tailwind
colors: {
custom: {
50: '#959ce6',
500: '#5f75da',
950: '#000000',
},
}SCSS
$custom: #5f75da; $custom-light: #959ce6; $custom-dark: #000000;
JSON
{
"hex": "#5f75da",
"rgb": {
"r": 95,
"g": 117,
"b": 218
},
"hsl": {
"h": 229.268,
"s": 62.437,
"l": 61.373
},
"oklch": {
"l": 0.59484,
"c": 0.15514,
"h": 271.7
},
"luminance": 0.20217
}Semantic roles & 50–950 ramp
primary
#5F75DA
secondary
#E1D9B3
accent
#AB1BCA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84