#4A5ABC#4A5ABC
#4A5ABC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.154 H 272.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5ABC |
|---|---|
| RGB | rgb(74, 90, 188) |
| HSL | hsl(232, 46%, 51%) |
| HSV | hsv(232, 61%, 74%) |
| CMYK | cmyk(60.6%, 52.1%, 0%, 26.3%) |
| CIE-LAB | lab(41.84, 24.17, -53.68) |
| CIE-LCH | lch(41.84, 58.88, 294.24°) |
| OKLab | oklab(50.79% 0.0074 -0.1538) |
| OKLCH | oklch(50.79% 0.154 272.7) |
| XYZ | xyz(15.5543, 12.3978, 49.1405) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.46
Iris
#6258C4
ΔE00 4.78
Dark Periwinkle
#665FD1
ΔE00 5.84
Sapphire
#0F52BA
ΔE00 5.94
Dusky Blue
#475F94
ΔE00 6.32
Slate Blue
#6A5ACD
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5ABC #BCAC4A
analogous
#4A93BC #4A5ABC #734ABC
triadic
#4A5ABC #BC4A5A #5ABC4A
tetradic
#4A5ABC #BC4A93 #BCAC4A #4ABC73
square
#4A5ABC #BC4A93 #BCAC4A #4ABC73
split-complementary
#4A5ABC #BC734A #93BC4A
monochromatic
#262F66 #364393 #4A5ABC #7783CD #A3ABDD
Accessibility & contrast
On white
6.03
#4A5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#4A5ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5ABC
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5ABC | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2168BF
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4a5abc; /* rgb */ color: rgb(74, 90, 188); /* oklch */ color: oklch(50.8% 0.154 272.7);
Tailwind
colors: {
custom: {
50: '#8788d1',
500: '#4a5abc',
950: '#000000',
},
}SCSS
$custom: #4a5abc; $custom-light: #8788d1; $custom-dark: #000000;
JSON
{
"hex": "#4a5abc",
"rgb": {
"r": 74,
"g": 90,
"b": 188
},
"hsl": {
"h": 231.579,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.50786,
"c": 0.15398,
"h": 272.7
},
"luminance": 0.12399
}Semantic roles & 50–950 ramp
primary
#4A5ABC
secondary
#CAC398
accent
#C352D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82