#4862C8#4862C8
#4862C8 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.1% C 0.161 H 269.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4862C8 |
|---|---|
| RGB | rgb(72, 98, 200) |
| HSL | hsl(228, 54%, 53%) |
| HSV | hsv(228, 64%, 78%) |
| CMYK | cmyk(64%, 51%, 0%, 21.6%) |
| CIE-LAB | lab(44.63, 22.89, -56.14) |
| CIE-LCH | lch(44.63, 60.63, 292.18°) |
| OKLab | oklab(53.12% -0.0015 -0.161) |
| OKLCH | oklch(53.12% 0.161 269.5) |
| XYZ | xyz(17.4620, 14.2817, 56.4688) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 4.03
Warm Blue
#4B57DB
ΔE00 4.75
Azul
#1D5DEC
ΔE00 4.78
Cornflower Blue
#5170D7
ΔE00 5.24
French Blue
#436BAD
ΔE00 5.43
Dark Periwinkle
#665FD1
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4862C8 #C8AE48
analogous
#48A2C8 #4862C8 #6E48C8
triadic
#4862C8 #C84862 #62C848
tetradic
#4862C8 #C848A2 #C8AE48 #48C86E
square
#4862C8 #C848A2 #C8AE48 #48C86E
split-complementary
#4862C8 #C86E48 #A2C848
monochromatic
#233373 #3148A2 #4862C8 #778AD6 #A6B3E4
Accessibility & contrast
On white
5.45
#4862C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#4862C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4862C8
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4862C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4862C8 | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4862c8; /* rgb */ color: rgb(72, 98, 200); /* oklch */ color: oklch(53.1% 0.161 269.5);
Tailwind
colors: {
custom: {
50: '#888ed9',
500: '#4862c8',
950: '#000000',
},
}SCSS
$custom: #4862c8; $custom-light: #888ed9; $custom-dark: #000000;
JSON
{
"hex": "#4862c8",
"rgb": {
"r": 72,
"g": 98,
"b": 200
},
"hsl": {
"h": 227.813,
"s": 53.782,
"l": 53.333
},
"oklch": {
"l": 0.5312,
"c": 0.161,
"h": 269.5
},
"luminance": 0.14283
}Semantic roles & 50–950 ramp
primary
#4862C8
secondary
#D1C69A
accent
#BF4BDD
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83