#4854C8#4854C8
#4854C8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.179 H 273.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4854C8 |
|---|---|
| RGB | rgb(72, 84, 200) |
| HSL | hsl(234, 54%, 53%) |
| HSV | hsv(234, 64%, 78%) |
| CMYK | cmyk(64%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(41.04, 31.75, -61.97) |
| CIE-LCH | lch(41.04, 69.63, 297.13°) |
| OKLab | oklab(50.42% 0.0114 -0.1783) |
| OKLCH | oklch(50.42% 0.179 273.6) |
| XYZ | xyz(16.2647, 11.8871, 56.0697) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.79
Iris
#6258C4
ΔE00 4.28
Dark Periwinkle
#665FD1
ΔE00 5.65
Slate Blue
#6A5ACD
ΔE00 5.73
Blue Blue
#2242C7
ΔE00 5.91
Azul
#1D5DEC
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4854C8 #C8BC48
analogous
#4894C8 #4854C8 #7C48C8
triadic
#4854C8 #C84854 #54C848
tetradic
#4854C8 #C84894 #C8BC48 #48C87C
square
#4854C8 #C84894 #C8BC48 #48C87C
split-complementary
#4854C8 #C87C48 #94C848
monochromatic
#232A73 #313BA2 #4854C8 #7780D6 #A6ACE4
Accessibility & contrast
On white
6.22
#4854C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4854C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4854C8
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4854C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4854C8 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4854c8; /* rgb */ color: rgb(72, 84, 200); /* oklch */ color: oklch(50.4% 0.179 273.6);
Tailwind
colors: {
custom: {
50: '#8984da',
500: '#4854c8',
950: '#000000',
},
}SCSS
$custom: #4854c8; $custom-light: #8984da; $custom-dark: #000000;
JSON
{
"hex": "#4854c8",
"rgb": {
"r": 72,
"g": 84,
"b": 200
},
"hsl": {
"h": 234.375,
"s": 53.782,
"l": 53.333
},
"oklch": {
"l": 0.50421,
"c": 0.17865,
"h": 273.6
},
"luminance": 0.11888
}Semantic roles & 50–950 ramp
primary
#4854C8
secondary
#D1CC9A
accent
#CF4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83