#4862DF#4862DF
#4862DF is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.8% C 0.192 H 270.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4862DF |
|---|---|
| RGB | rgb(72, 98, 223) |
| HSL | hsl(230, 70%, 58%) |
| HSV | hsv(230, 68%, 87%) |
| CMYK | cmyk(67.7%, 56.1%, 0%, 12.5%) |
| CIE-LAB | lab(46.23, 30.91, -66.71) |
| CIE-LCH | lch(46.23, 73.53, 294.86°) |
| OKLab | oklab(54.83% 0 -0.1921) |
| OKLCH | oklch(54.83% 0.192 270) |
| XYZ | xyz(20.3549, 15.4388, 71.7050) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.77
Azul
#1D5DEC
ΔE00 3.26
Warm Blue
#4B57DB
ΔE00 3.71
Bright Blue
#0165FC
ΔE00 4.46
Cornflower Blue
#5170D7
ΔE00 4.81
Dark Periwinkle
#665FD1
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4862DF #DFC548
analogous
#48ADDF #4862DF #7948DF
triadic
#4862DF #DF4862 #62DF48
tetradic
#4862DF #DF48AD #DFC548 #48DF79
square
#4862DF #DF48AD #DFC548 #48DF79
split-complementary
#4862DF #DF7948 #ADDF48
monochromatic
#1A2F93 #233FC7 #4862DF #7C8FE8 #B0BBF1
Accessibility & contrast
On white
5.14
#4862DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#4862DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4862DF
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4862DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4862DF | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#008097
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4862df; /* rgb */ color: rgb(72, 98, 223); /* oklch */ color: oklch(54.8% 0.192 270.0);
Tailwind
colors: {
custom: {
50: '#8c8eea',
500: '#4862df',
950: '#000000',
},
}SCSS
$custom: #4862df; $custom-light: #8c8eea; $custom-dark: #000000;
JSON
{
"hex": "#4862df",
"rgb": {
"r": 72,
"g": 98,
"b": 223
},
"hsl": {
"h": 229.669,
"s": 70.233,
"l": 57.843
},
"oklch": {
"l": 0.54827,
"c": 0.19208,
"h": 270
},
"luminance": 0.15441
}Semantic roles & 50–950 ramp
primary
#4862DF
secondary
#E0D5A3
accent
#CE3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84