#4145A4#4145A4
#4145A4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.150 H 276.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4145A4 |
|---|---|
| RGB | rgb(65, 69, 164) |
| HSL | hsl(238, 43%, 45%) |
| HSV | hsv(238, 60%, 64%) |
| CMYK | cmyk(60.4%, 57.9%, 0%, 35.7%) |
| CIE-LAB | lab(34.11, 27.74, -52.02) |
| CIE-LCH | lch(34.11, 58.95, 298.06°) |
| OKLab | oklab(44.3% 0.0171 -0.1494) |
| OKLCH | oklch(44.3% 0.15 276.5) |
| XYZ | xyz(11.0068, 8.0596, 36.0904) |
| Luminance | 0.0806 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.79
Ocean Blue
#4F42B5
ΔE00 3.84
Sapphire (survey)
#2138AB
ΔE00 4.81
Darkslateblue
#483D8B
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.39
Cobalt
#0047AB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4145A4 #A4A041
analogous
#4176A4 #4145A4 #6F41A4
triadic
#4145A4 #A44145 #45A441
tetradic
#4145A4 #A44176 #A4A041 #41A46F
square
#4145A4 #A44176 #A4A041 #41A46F
split-complementary
#4145A4 #A46F41 #76A441
monochromatic
#1E204C #303378 #4145A4 #6265C1 #8D90D2
Accessibility & contrast
On white
8.04
#4145A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#4145A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4145A4
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4145A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4145A4 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #4145a4; /* rgb */ color: rgb(65, 69, 164); /* oklch */ color: oklch(44.3% 0.150 276.5);
Tailwind
colors: {
custom: {
50: '#7f78c0',
500: '#4145a4',
950: '#000000',
},
}SCSS
$custom: #4145a4; $custom-light: #7f78c0; $custom-dark: #000000;
JSON
{
"hex": "#4145a4",
"rgb": {
"r": 65,
"g": 69,
"b": 164
},
"hsl": {
"h": 237.576,
"s": 43.231,
"l": 44.902
},
"oklch": {
"l": 0.44302,
"c": 0.15034,
"h": 276.5
},
"luminance": 0.0806
}Semantic roles & 50–950 ramp
primary
#4145A4
secondary
#BDBB84
accent
#CE55D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81