#5F6CF2#5F6CF2
#5F6CF2 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.4% C 0.199 H 274.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5F6CF2 |
|---|---|
| RGB | rgb(95, 108, 242) |
| HSL | hsl(235, 85%, 66%) |
| HSV | hsv(235, 61%, 95%) |
| CMYK | cmyk(60.7%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(51.34, 34.73, -69.04) |
| CIE-LCH | lch(51.34, 77.29, 296.70°) |
| OKLab | oklab(59.42% 0.0154 -0.1983) |
| OKLCH | oklch(59.42% 0.199 274.4) |
| XYZ | xyz(26.1036, 19.5667, 86.3883) |
| Luminance | 0.1957 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower
#6A79F7
ΔE00 4.29
Mediumslateblue
#7B68EE
ΔE00 4.90
Cornflower Blue
#5170D7
ΔE00 4.91
Royal Blue
#4169E1
ΔE00 5.11
Bright Blue
#0165FC
ΔE00 6.41
Dark Periwinkle
#665FD1
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F6CF2 #F2E55F
analogous
#5FB5F2 #5F6CF2 #9B5FF2
triadic
#5F6CF2 #F25F6C #6CF25F
tetradic
#5F6CF2 #F25FB5 #F2E55F #5FF29B
square
#5F6CF2 #F25FB5 #F2E55F #5FF29B
split-complementary
#5F6CF2 #F29B5F #B5F25F
monochromatic
#1020C6 #2638ED #5F6CF2 #98A0F7 #D0D4FB
Accessibility & contrast
On white
4.27
#5F6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#5F6CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F6CF2
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F6CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F6CF2 | 1.00 | 4.27 | 4.91 | 4.91 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #5f6cf2; /* rgb */ color: rgb(95, 108, 242); /* oklch */ color: oklch(59.4% 0.199 274.4);
Tailwind
colors: {
custom: {
50: '#9a96f7',
500: '#5f6cf2',
950: '#000000',
},
}SCSS
$custom: #5f6cf2; $custom-light: #9a96f7; $custom-dark: #000000;
JSON
{
"hex": "#5f6cf2",
"rgb": {
"r": 95,
"g": 108,
"b": 242
},
"hsl": {
"h": 234.694,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.59419,
"c": 0.19889,
"h": 274.4
},
"luminance": 0.19569
}Semantic roles & 50–950 ramp
primary
#5F6CF2
secondary
#EFEABE
accent
#CE04E1
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85