#5F7BEE#5F7BEE
#5F7BEE is a mid, vivid blue. Relative luminance 0.228; OKLCH L 62.0% C 0.175 H 270.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #5F7BEE |
|---|---|
| RGB | rgb(95, 123, 238) |
| HSL | hsl(228, 81%, 65%) |
| HSV | hsv(228, 60%, 93%) |
| CMYK | cmyk(60.1%, 48.3%, 0%, 6.7%) |
| CIE-LAB | lab(54.83, 24.29, -61.18) |
| CIE-LCH | lch(54.83, 65.83, 291.66°) |
| OKLab | oklab(61.96% 0.0009 -0.175) |
| OKLCH | oklch(61.96% 0.175 270.3) |
| XYZ | xyz(27.2297, 22.7696, 83.8324) |
| Luminance | 0.2277 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 2.54
Lightish Blue
#3D7AFD
ΔE00 3.79
Soft Blue
#6488EA
ΔE00 4.27
Cornflower Blue
#5170D7
ΔE00 5.10
Dodger Blue
#3E82FC
ΔE00 5.20
Clear Blue
#247AFD
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F7BEE #EED25F
analogous
#5FC2EE #5F7BEE #8B5FEE
triadic
#5F7BEE #EE5F7B #7BEE5F
tetradic
#5F7BEE #EE5FC2 #EED25F #5FEE8B
square
#5F7BEE #EE5FC2 #EED25F #5FEE8B
split-complementary
#5F7BEE #EE8B5F #C2EE5F
monochromatic
#1436BE #284DE8 #5F7BEE #96A9F4 #CED6FA
Accessibility & contrast
On white
3.78
#5F7BEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#5F7BEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F7BEE
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F7BEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F7BEE | 1.00 | 3.78 | 5.55 | 5.55 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408AF2
Deuteranopia (green-blind)
#247DEC
Tritanopia (blue-blind)
#0095A9
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #5f7bee; /* rgb */ color: rgb(95, 123, 238); /* oklch */ color: oklch(62.0% 0.175 270.3);
Tailwind
colors: {
custom: {
50: '#98a0f4',
500: '#5f7bee',
950: '#000000',
},
}SCSS
$custom: #5f7bee; $custom-light: #98a0f4; $custom-dark: #000000;
JSON
{
"hex": "#5f7bee",
"rgb": {
"r": 95,
"g": 123,
"b": 238
},
"hsl": {
"h": 228.252,
"s": 80.791,
"l": 65.294
},
"oklch": {
"l": 0.61964,
"c": 0.17499,
"h": 270.3
},
"luminance": 0.22772
}Semantic roles & 50–950 ramp
primary
#5F7BEE
secondary
#ECE3BC
accent
#B308DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85