#4862DC#4862DC
#4862DC is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.6% C 0.188 H 270.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #4862DC |
|---|---|
| RGB | rgb(72, 98, 220) |
| HSL | hsl(229, 68%, 57%) |
| HSV | hsv(229, 67%, 86%) |
| CMYK | cmyk(67.3%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(46.01, 29.87, -65.36) |
| CIE-LCH | lch(46.01, 71.86, 294.56°) |
| OKLab | oklab(54.6% -0.0001 -0.1881) |
| OKLCH | oklch(54.6% 0.188 270) |
| XYZ | xyz(19.9540, 15.2785, 69.5937) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 2.79
Azul
#1D5DEC
ΔE00 3.33
Warm Blue
#4B57DB
ΔE00 3.71
Bright Blue
#0165FC
ΔE00 4.65
Cornflower Blue
#5170D7
ΔE00 4.78
Dark Periwinkle
#665FD1
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4862DC #DCC248
analogous
#48ACDC #4862DC #7848DC
triadic
#4862DC #DC4862 #62DC48
tetradic
#4862DC #DC48AC #DCC248 #48DC78
square
#4862DC #DC48AC #DCC248 #48DC78
split-complementary
#4862DC #DC7848 #ACDC48
monochromatic
#1B2F8E #2541C2 #4862DC #7B8EE6 #AFBAF0
Accessibility & contrast
On white
5.18
#4862DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#4862DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4862DC
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4862DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4862DC | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#008095
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4862dc; /* rgb */ color: rgb(72, 98, 220); /* oklch */ color: oklch(54.6% 0.188 270.0);
Tailwind
colors: {
custom: {
50: '#8b8ee8',
500: '#4862dc',
950: '#000000',
},
}SCSS
$custom: #4862dc; $custom-light: #8b8ee8; $custom-dark: #000000;
JSON
{
"hex": "#4862dc",
"rgb": {
"r": 72,
"g": 98,
"b": 220
},
"hsl": {
"h": 229.459,
"s": 67.89,
"l": 57.255
},
"oklch": {
"l": 0.54597,
"c": 0.1881,
"h": 270
},
"luminance": 0.1528
}Semantic roles & 50–950 ramp
primary
#4862DC
secondary
#DED3A2
accent
#CC3DEB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0C16
muted
#7E7D84