#4A4792#4A4792
#4A4792 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 44.0% C 0.120 H 282.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #4A4792 |
|---|---|
| RGB | rgb(74, 71, 146) |
| HSL | hsl(242, 35%, 43%) |
| HSV | hsv(242, 51%, 57%) |
| CMYK | cmyk(49.3%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(34.06, 22.33, -41.17) |
| CIE-LCH | lch(34.06, 46.84, 298.47°) |
| OKLab | oklab(44.04% 0.0251 -0.1172) |
| OKLCH | oklch(44.04% 0.12 282.1) |
| XYZ | xyz(10.2640, 8.0371, 28.1990) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.25
Darkslateblue
#483D8B
ΔE00 3.22
Twilight
#4E518B
ΔE00 4.08
Ocean Blue
#4F42B5
ΔE00 6.22
Dusk
#4E5481
ΔE00 6.59
Sapphire (survey)
#2138AB
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A4792 #8F9247
analogous
#476992 #4A4792 #6F4792
triadic
#4A4792 #924A47 #47924A
tetradic
#4A4792 #924769 #8F9247 #47926F
square
#4A4792 #924769 #8F9247 #47926F
split-complementary
#4A4792 #926F47 #699247
monochromatic
#201F40 #353369 #4A4792 #6663B3 #8F8CC7
Accessibility & contrast
On white
8.05
#4A4792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#4A4792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4A4792
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A4792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A4792 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#1F4D90
Tritanopia (blue-blind)
#305765
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #4a4792; /* rgb */ color: rgb(74, 71, 146); /* oklch */ color: oklch(44.0% 0.120 282.1);
Tailwind
colors: {
custom: {
50: '#827ab2',
500: '#4a4792',
950: '#000000',
},
}SCSS
$custom: #4a4792; $custom-light: #827ab2; $custom-dark: #000000;
JSON
{
"hex": "#4a4792",
"rgb": {
"r": 74,
"g": 71,
"b": 146
},
"hsl": {
"h": 242.4,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.44042,
"c": 0.11985,
"h": 282.1
},
"luminance": 0.08038
}Semantic roles & 50–950 ramp
primary
#4A4792
secondary
#B1B382
accent
#CB5DC6
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80