#4154AB#4154AB
#4154AB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.140 H 271.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4154AB |
|---|---|
| RGB | rgb(65, 84, 171) |
| HSL | hsl(229, 45%, 46%) |
| HSV | hsv(229, 62%, 67%) |
| CMYK | cmyk(62%, 50.9%, 0%, 32.9%) |
| CIE-LAB | lab(38.56, 20.45, -49.01) |
| CIE-LCH | lch(38.56, 53.10, 292.65°) |
| OKLab | oklab(47.8% 0.0023 -0.1403) |
| OKLCH | oklch(47.8% 0.14 271) |
| XYZ | xyz(12.6985, 10.4037, 39.8591) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.72
Denim Blue
#3B5B92
ΔE00 5.14
Dusky Blue
#475F94
ΔE00 5.33
Cobalt
#0047AB
ΔE00 5.93
Twilight
#4E518B
ΔE00 6.51
Dusk Blue
#26538D
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4154AB #AB9841
analogous
#4189AB #4154AB #6341AB
triadic
#4154AB #AB4154 #54AB41
tetradic
#4154AB #AB4189 #AB9841 #41AB63
square
#4154AB #AB4189 #AB9841 #41AB63
split-complementary
#4154AB #AB6341 #89AB41
monochromatic
#1F2852 #303E7F #4154AB #6576C4 #919DD5
Accessibility & contrast
On white
6.82
#4154AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#4154AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4154AB
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4154AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4154AB | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2460AE
Deuteranopia (green-blind)
#0956A9
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4154ab; /* rgb */ color: rgb(65, 84, 171); /* oklch */ color: oklch(47.8% 0.140 271.0);
Tailwind
colors: {
custom: {
50: '#8083c5',
500: '#4154ab',
950: '#000000',
},
}SCSS
$custom: #4154ab; $custom-light: #8083c5; $custom-dark: #000000;
JSON
{
"hex": "#4154ab",
"rgb": {
"r": 65,
"g": 84,
"b": 171
},
"hsl": {
"h": 229.245,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.47798,
"c": 0.14035,
"h": 271
},
"luminance": 0.10405
}Semantic roles & 50–950 ramp
primary
#4154AB
secondary
#C1B687
accent
#BD53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82