#5F75EE#5F75EE
#5F75EE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.8% C 0.182 H 272.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5F75EE |
|---|---|
| RGB | rgb(95, 117, 238) |
| HSL | hsl(231, 81%, 65%) |
| HSV | hsv(231, 60%, 93%) |
| CMYK | cmyk(60.1%, 50.8%, 0%, 6.7%) |
| CIE-LAB | lab(53.30, 27.95, -63.64) |
| CIE-LCH | lch(53.30, 69.51, 293.71°) |
| OKLab | oklab(60.81% 0.0068 -0.1823) |
| OKLCH | oklch(60.81% 0.182 272.1) |
| XYZ | xyz(26.5081, 21.3264, 83.5918) |
| Luminance | 0.2133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.36
Cornflower Blue
#5170D7
ΔE00 4.21
Lightish Blue
#3D7AFD
ΔE00 4.72
Royal Blue
#4169E1
ΔE00 5.73
Soft Blue
#6488EA
ΔE00 6.30
Clear Blue
#247AFD
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F75EE #EED85F
analogous
#5FBDEE #5F75EE #905FEE
triadic
#5F75EE #EE5F75 #75EE5F
tetradic
#5F75EE #EE5FBD #EED85F #5FEE90
square
#5F75EE #EE5FBD #EED85F #5FEE90
split-complementary
#5F75EE #EE905F #BDEE5F
monochromatic
#142EBE #2845E8 #5F75EE #96A5F4 #CED4FA
Accessibility & contrast
On white
3.99
#5F75EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#5F75EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F75EE
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F75EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F75EE | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3086F2
Deuteranopia (green-blind)
#0179EB
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #5f75ee; /* rgb */ color: rgb(95, 117, 238); /* oklch */ color: oklch(60.8% 0.182 272.1);
Tailwind
colors: {
custom: {
50: '#989cf4',
500: '#5f75ee',
950: '#000000',
},
}SCSS
$custom: #5f75ee; $custom-light: #989cf4; $custom-dark: #000000;
JSON
{
"hex": "#5f75ee",
"rgb": {
"r": 95,
"g": 117,
"b": 238
},
"hsl": {
"h": 230.769,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.60806,
"c": 0.18243,
"h": 272.1
},
"luminance": 0.21329
}Semantic roles & 50–950 ramp
primary
#5F75EE
secondary
#ECE5BC
accent
#BC08DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85