#4854AF#4854AF
#4854AF is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.144 H 274.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4854AF |
|---|---|
| RGB | rgb(72, 84, 175) |
| HSL | hsl(233, 42%, 48%) |
| HSV | hsv(233, 59%, 69%) |
| CMYK | cmyk(58.9%, 52%, 0%, 31.4%) |
| CIE-LAB | lab(39.26, 23.18, -50.22) |
| CIE-LCH | lch(39.26, 55.31, 294.78°) |
| OKLab | oklab(48.53% 0.0103 -0.1437) |
| OKLCH | oklch(48.53% 0.144 274.1) |
| XYZ | xyz(13.5781, 10.8125, 41.9206) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 5.59
Sapphire
#0F52BA
ΔE00 5.77
Dusky Blue
#475F94
ΔE00 6.05
Warm Blue
#4B57DB
ΔE00 6.24
Denim Blue
#3B5B92
ΔE00 6.30
Ocean Blue
#4F42B5
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4854AF #AFA348
analogous
#4887AF #4854AF #6F48AF
triadic
#4854AF #AF4854 #54AF48
tetradic
#4854AF #AF4887 #AFA348 #48AF6F
square
#4854AF #AF4887 #AFA348 #48AF6F
split-complementary
#4854AF #AF6F48 #87AF48
monochromatic
#242A58 #363F84 #4854AF #707AC4 #9BA2D6
Accessibility & contrast
On white
6.64
#4854AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#4854AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4854AF
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4854AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4854AF | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2161B2
Deuteranopia (green-blind)
#0858AD
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4854af; /* rgb */ color: rgb(72, 84, 175); /* oklch */ color: oklch(48.5% 0.144 274.1);
Tailwind
colors: {
custom: {
50: '#8483c7',
500: '#4854af',
950: '#000000',
},
}SCSS
$custom: #4854af; $custom-light: #8483c7; $custom-dark: #000000;
JSON
{
"hex": "#4854af",
"rgb": {
"r": 72,
"g": 84,
"b": 175
},
"hsl": {
"h": 233.01,
"s": 41.7,
"l": 48.431
},
"oklch": {
"l": 0.48532,
"c": 0.14408,
"h": 274.1
},
"luminance": 0.10814
}Semantic roles & 50–950 ramp
primary
#4854AF
secondary
#C2BD90
accent
#C356D2
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82