#4F74E8#4F74E8
#4F74E8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.3% C 0.180 H 267.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #4F74E8 |
|---|---|
| RGB | rgb(79, 116, 232) |
| HSL | hsl(225, 77%, 61%) |
| HSV | hsv(225, 66%, 91%) |
| CMYK | cmyk(65.9%, 50%, 0%, 9%) |
| CIE-LAB | lab(51.81, 23.87, -62.74) |
| CIE-LCH | lch(51.81, 67.13, 290.83°) |
| OKLab | oklab(59.33% -0.0082 -0.18) |
| OKLCH | oklch(59.33% 0.18 267.4) |
| XYZ | xyz(24.0303, 19.9770, 78.9178) |
| Luminance | 0.1998 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cornflower Blue
#5170D7
ΔE00 2.55
Lightish Blue
#3D7AFD
ΔE00 3.53
Royal Blue
#4169E1
ΔE00 4.05
Deep Sky Blue
#0D75F8
ΔE00 4.46
Clear Blue
#247AFD
ΔE00 4.61
Cornflower
#6A79F7
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F74E8 #E8C34F
analogous
#4FC0E8 #4F74E8 #764FE8
triadic
#4F74E8 #E84F74 #74E84F
tetradic
#4F74E8 #E84FC0 #E8C34F #4FE876
square
#4F74E8 #E84FC0 #E8C34F #4FE876
split-complementary
#4F74E8 #E8764F #C0E84F
monochromatic
#1639A7 #1D4BDD #4F74E8 #859FEF #BBC9F6
Accessibility & contrast
On white
4.20
#4F74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#4F74E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4F74E8
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F74E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4F74E8 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3183EC
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #4f74e8; /* rgb */ color: rgb(79, 116, 232); /* oklch */ color: oklch(59.3% 0.180 267.4);
Tailwind
colors: {
custom: {
50: '#909bf0',
500: '#4f74e8',
950: '#000000',
},
}SCSS
$custom: #4f74e8; $custom-light: #909bf0; $custom-dark: #000000;
JSON
{
"hex": "#4f74e8",
"rgb": {
"r": 79,
"g": 116,
"b": 232
},
"hsl": {
"h": 225.49,
"s": 76.884,
"l": 60.98
},
"oklch": {
"l": 0.59325,
"c": 0.18018,
"h": 267.4
},
"luminance": 0.19979
}Semantic roles & 50–950 ramp
primary
#4F74E8
secondary
#E6D8AD
accent
#A80CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85