#5F6BFA#5F6BFA
#5F6BFA is a mid, highly saturated blue. Relative luminance 0.199; OKLCH L 59.8% C 0.210 H 274.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5F6BFA |
|---|---|
| RGB | rgb(95, 107, 250) |
| HSL | hsl(235, 94%, 68%) |
| HSV | hsv(235, 62%, 98%) |
| CMYK | cmyk(62%, 57.2%, 0%, 2%) |
| CIE-LAB | lab(51.67, 37.94, -72.97) |
| CIE-LCH | lch(51.67, 82.25, 297.47°) |
| OKLab | oklab(59.84% 0.0164 -0.2099) |
| OKLCH | oklch(59.84% 0.211 274.5) |
| XYZ | xyz(27.2266, 19.8482, 92.8202) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.39
Mediumslateblue
#7B68EE
ΔE00 4.76
Royal Blue
#4169E1
ΔE00 5.79
Cornflower Blue
#5170D7
ΔE00 5.82
Bright Blue
#0165FC
ΔE00 6.58
Dark Periwinkle
#665FD1
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F6BFA #FAEE5F
analogous
#5FB8FA #5F6BFA #A15FFA
triadic
#5F6BFA #FA5F6B #6BFA5F
tetradic
#5F6BFA #FA5FB8 #FAEE5F #5FFAA1
square
#5F6BFA #FA5FB8 #FAEE5F #5FFAA1
split-complementary
#5F6BFA #FAA15F #B8FA5F
monochromatic
#0717D8 #2434F8 #5F6BFA #9AA2FC #D6D9FE
Accessibility & contrast
On white
4.23
#5F6BFA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#5F6BFA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F6BFA
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F6BFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F6BFA | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0074F7
Tritanopia (blue-blind)
#008EA8
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5f6bfa; /* rgb */ color: rgb(95, 107, 250); /* oklch */ color: oklch(59.8% 0.210 274.5);
Tailwind
colors: {
custom: {
50: '#9b95fd',
500: '#5f6bfa',
950: '#000000',
},
}SCSS
$custom: #5f6bfa; $custom-light: #9b95fd; $custom-dark: #000000;
JSON
{
"hex": "#5f6bfa",
"rgb": {
"r": 95,
"g": 107,
"b": 250
},
"hsl": {
"h": 235.355,
"s": 93.939,
"l": 67.647
},
"oklch": {
"l": 0.59835,
"c": 0.2105,
"h": 274.5
},
"luminance": 0.1985
}Semantic roles & 50–950 ramp
primary
#5F6BFA
secondary
#F2EFC2
accent
#D400E6
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D18
muted
#7F7E86