#4F5FA5#4F5FA5
#4F5FA5 is a mid, moderate blue. Relative luminance 0.126; OKLCH L 50.6% C 0.113 H 272.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5FA5 |
|---|---|
| RGB | rgb(79, 95, 165) |
| HSL | hsl(229, 35%, 48%) |
| HSV | hsv(229, 52%, 65%) |
| CMYK | cmyk(52.1%, 42.4%, 0%, 35.3%) |
| CIE-LAB | lab(42.10, 14.31, -39.74) |
| CIE-LCH | lch(42.10, 42.24, 289.80°) |
| OKLab | oklab(50.61% 0.0042 -0.1127) |
| OKLCH | oklch(50.61% 0.113 272.1) |
| XYZ | xyz(14.1060, 12.5624, 37.2715) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.16
Denim Blue
#3B5B92
ΔE00 4.81
French Blue
#436BAD
ΔE00 6.00
Twilight
#4E518B
ΔE00 6.36
Denim (survey)
#3B638C
ΔE00 6.89
Iris
#6258C4
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5FA5 #A5954F
analogous
#4F8AA5 #4F5FA5 #6A4FA5
triadic
#4F5FA5 #A54F5F #5FA54F
tetradic
#4F5FA5 #A54F8A #A5954F #4FA56A
square
#4F5FA5 #A54F8A #A5954F #4FA56A
split-complementary
#4F5FA5 #A56A4F #8AA54F
monochromatic
#272F52 #3B477C #4F5FA5 #7582BD #9EA7D1
Accessibility & contrast
On white
5.98
#4F5FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#4F5FA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5FA5
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5FA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5FA5 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4267A8
Deuteranopia (green-blind)
#3960A3
Tritanopia (blue-blind)
#296E7A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4f5fa5; /* rgb */ color: rgb(79, 95, 165); /* oklch */ color: oklch(50.6% 0.113 272.1);
Tailwind
colors: {
custom: {
50: '#868cc0',
500: '#4f5fa5',
950: '#000000',
},
}SCSS
$custom: #4f5fa5; $custom-light: #868cc0; $custom-dark: #000000;
JSON
{
"hex": "#4f5fa5",
"rgb": {
"r": 79,
"g": 95,
"b": 165
},
"hsl": {
"h": 228.837,
"s": 35.246,
"l": 47.843
},
"oklch": {
"l": 0.50608,
"c": 0.11276,
"h": 272.1
},
"luminance": 0.12563
}Semantic roles & 50–950 ramp
primary
#4F5FA5
secondary
#BDB592
accent
#B75DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0C0C12
muted
#7D7D81