#5F74DF#5F74DF
#5F74DF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.6% C 0.163 H 272.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5F74DF |
|---|---|
| RGB | rgb(95, 116, 223) |
| HSL | hsl(230, 67%, 62%) |
| HSV | hsv(230, 57%, 87%) |
| CMYK | cmyk(57.4%, 48%, 0%, 12.5%) |
| CIE-LAB | lab(52.12, 23.64, -57.14) |
| CIE-LCH | lch(52.12, 61.84, 292.47°) |
| OKLab | oklab(59.61% 0.0063 -0.1632) |
| OKLCH | oklch(59.61% 0.163 272.2) |
| XYZ | xyz(24.2796, 20.2495, 72.4268) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.77
Cornflower
#6A79F7
ΔE00 3.97
Royal Blue
#4169E1
ΔE00 4.94
Lightish Blue
#3D7AFD
ΔE00 5.56
Soft Blue
#6488EA
ΔE00 6.81
Clear Blue
#247AFD
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F74DF #DFCA5F
analogous
#5FB4DF #5F74DF #8A5FDF
triadic
#5F74DF #DF5F74 #74DF5F
tetradic
#5F74DF #DF5FB4 #DFCA5F #5FDF8A
square
#5F74DF #DF5FB4 #DFCA5F #5FDF8A
split-complementary
#5F74DF #DF8A5F #B4DF5F
monochromatic
#2136A3 #2C48D5 #5F74DF #92A0E9 #C5CDF3
Accessibility & contrast
On white
4.16
#5F74DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#5F74DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F74DF
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F74DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F74DF | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#2B77DD
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #5f74df; /* rgb */ color: rgb(95, 116, 223); /* oklch */ color: oklch(59.6% 0.163 272.2);
Tailwind
colors: {
custom: {
50: '#969bea',
500: '#5f74df',
950: '#000000',
},
}SCSS
$custom: #5f74df; $custom-light: #969bea; $custom-dark: #000000;
JSON
{
"hex": "#5f74df",
"rgb": {
"r": 95,
"g": 116,
"b": 223
},
"hsl": {
"h": 230.156,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.59609,
"c": 0.16331,
"h": 272.2
},
"luminance": 0.20251
}Semantic roles & 50–950 ramp
primary
#5F74DF
secondary
#E4DDB6
accent
#B017CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84