#5F6DF2#5F6DF2
#5F6DF2 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.6% C 0.198 H 274.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5F6DF2 |
|---|---|
| RGB | rgb(95, 109, 242) |
| HSL | hsl(234, 85%, 66%) |
| HSV | hsv(234, 61%, 95%) |
| CMYK | cmyk(60.7%, 55%, 0%, 5.1%) |
| CIE-LAB | lab(51.59, 34.12, -68.65) |
| CIE-LCH | lch(51.59, 76.66, 296.43°) |
| OKLab | oklab(59.6% 0.0145 -0.1971) |
| OKLCH | oklch(59.6% 0.198 274.2) |
| XYZ | xyz(26.2097, 19.7789, 86.4237) |
| Luminance | 0.1978 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.00
Cornflower Blue
#5170D7
ΔE00 4.79
Mediumslateblue
#7B68EE
ΔE00 5.05
Royal Blue
#4169E1
ΔE00 5.13
Bright Blue
#0165FC
ΔE00 6.47
Lightish Blue
#3D7AFD
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F6DF2 #F2E45F
analogous
#5FB6F2 #5F6DF2 #9A5FF2
triadic
#5F6DF2 #F25F6D #6DF25F
tetradic
#5F6DF2 #F25FB6 #F2E45F #5FF29A
square
#5F6DF2 #F25FB6 #F2E45F #5FF29A
split-complementary
#5F6DF2 #F29A5F #B6F25F
monochromatic
#1021C6 #2639ED #5F6DF2 #98A1F7 #D0D4FB
Accessibility & contrast
On white
4.24
#5F6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#5F6DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F6DF2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F6DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F6DF2 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5f6df2; /* rgb */ color: rgb(95, 109, 242); /* oklch */ color: oklch(59.6% 0.198 274.2);
Tailwind
colors: {
custom: {
50: '#9a96f7',
500: '#5f6df2',
950: '#000000',
},
}SCSS
$custom: #5f6df2; $custom-light: #9a96f7; $custom-dark: #000000;
JSON
{
"hex": "#5f6df2",
"rgb": {
"r": 95,
"g": 109,
"b": 242
},
"hsl": {
"h": 234.286,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.596,
"c": 0.19765,
"h": 274.2
},
"luminance": 0.19781
}Semantic roles & 50–950 ramp
primary
#5F6DF2
secondary
#EFEABE
accent
#CC04E1
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85