#5F6CB2#5F6CB2
#5F6CB2 is a mid, moderate blue. Relative luminance 0.164; OKLCH L 55.2% C 0.110 H 274.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #5F6CB2 |
|---|---|
| RGB | rgb(95, 108, 178) |
| HSL | hsl(231, 35%, 54%) |
| HSV | hsv(231, 47%, 70%) |
| CMYK | cmyk(46.6%, 39.3%, 0%, 30.2%) |
| CIE-LAB | lab(47.46, 14.22, -38.81) |
| CIE-LCH | lch(47.46, 41.33, 290.12°) |
| OKLab | oklab(55.23% 0.0082 -0.1095) |
| OKLCH | oklch(55.23% 0.11 274.3) |
| XYZ | xyz(18.1153, 16.3714, 44.3163) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 5.99
Cornflower Blue
#5170D7
ΔE00 6.11
Dusky Blue
#475F94
ΔE00 7.00
Dark Periwinkle
#665FD1
ΔE00 7.08
Royal Blue
#4169E1
ΔE00 7.51
Iris
#6258C4
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F6CB2 #B2A55F
analogous
#5F95B2 #5F6CB2 #7B5FB2
triadic
#5F6CB2 #B25F6C #6CB25F
tetradic
#5F6CB2 #B25F95 #B2A55F #5FB27B
square
#5F6CB2 #B25F95 #B2A55F #5FB27B
split-complementary
#5F6CB2 #B27B5F #95B25F
monochromatic
#313966 #45508F #5F6CB2 #8892C6 #B2B8DA
Accessibility & contrast
On white
4.91
#5F6CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#5F6CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F6CB2
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F6CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F6CB2 | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5274B5
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#417A86
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #5f6cb2; /* rgb */ color: rgb(95, 108, 178); /* oklch */ color: oklch(55.2% 0.110 274.3);
Tailwind
colors: {
custom: {
50: '#9195c9',
500: '#5f6cb2',
950: '#000000',
},
}SCSS
$custom: #5f6cb2; $custom-light: #9195c9; $custom-dark: #000000;
JSON
{
"hex": "#5f6cb2",
"rgb": {
"r": 95,
"g": 108,
"b": 178
},
"hsl": {
"h": 230.602,
"s": 35.021,
"l": 53.529
},
"oklch": {
"l": 0.5523,
"c": 0.10983,
"h": 274.3
},
"luminance": 0.16372
}Semantic roles & 50–950 ramp
primary
#5F6CB2
secondary
#C8C3A5
accent
#BA5DCB
background
#F9F9FC
surface
#F1F1F8
border
#CBCBD1
text
#0D0D13
muted
#7E7E82