#4A54BE#4A54BE
#4A54BE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.165 H 274.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4A54BE |
|---|---|
| RGB | rgb(74, 84, 190) |
| HSL | hsl(235, 47%, 52%) |
| HSV | hsv(235, 61%, 75%) |
| CMYK | cmyk(61.1%, 55.8%, 0%, 25.5%) |
| CIE-LAB | lab(40.43, 28.67, -57.13) |
| CIE-LCH | lch(40.43, 63.92, 296.65°) |
| OKLab | oklab(49.77% 0.0134 -0.164) |
| OKLCH | oklch(49.77% 0.165 274.7) |
| XYZ | xyz(15.2856, 11.5130, 50.1219) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.07
Iris
#6258C4
ΔE00 4.23
Ocean Blue
#4F42B5
ΔE00 5.88
Slate Blue
#6A5ACD
ΔE00 5.99
Dark Periwinkle
#665FD1
ΔE00 6.05
Blue Blue
#2242C7
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A54BE #BEB44A
analogous
#4A8EBE #4A54BE #7A4ABE
triadic
#4A54BE #BE4A54 #54BE4A
tetradic
#4A54BE #BE4A8E #BEB44A #4ABE7A
square
#4A54BE #BE4A8E #BEB44A #4ABE7A
split-complementary
#4A54BE #BE7A4A #8EBE4A
monochromatic
#252B68 #363E95 #4A54BE #777FCE #A4A9DE
Accessibility & contrast
On white
6.36
#4A54BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#4A54BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A54BE
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A54BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A54BE | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4a54be; /* rgb */ color: rgb(74, 84, 190); /* oklch */ color: oklch(49.8% 0.165 274.7);
Tailwind
colors: {
custom: {
50: '#8884d2',
500: '#4a54be',
950: '#000000',
},
}SCSS
$custom: #4a54be; $custom-light: #8884d2; $custom-dark: #000000;
JSON
{
"hex": "#4a54be",
"rgb": {
"r": 74,
"g": 84,
"b": 190
},
"hsl": {
"h": 234.828,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.49773,
"c": 0.16456,
"h": 274.7
},
"luminance": 0.11514
}Semantic roles & 50–950 ramp
primary
#4A54BE
secondary
#CBC798
accent
#CB51D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83