#4155AB#4155AB
#4155AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.139 H 270.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4155AB |
|---|---|
| RGB | rgb(65, 85, 171) |
| HSL | hsl(229, 45%, 46%) |
| HSV | hsv(229, 62%, 67%) |
| CMYK | cmyk(62%, 50.3%, 0%, 32.9%) |
| CIE-LAB | lab(38.83, 19.80, -48.57) |
| CIE-LCH | lch(38.83, 52.45, 292.18°) |
| OKLab | oklab(48% 0.0013 -0.139) |
| OKLCH | oklch(48% 0.139 270.5) |
| XYZ | xyz(12.7767, 10.5600, 39.8852) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.66
Denim Blue
#3B5B92
ΔE00 4.90
Dusky Blue
#475F94
ΔE00 5.06
Cobalt
#0047AB
ΔE00 6.07
Dusk Blue
#26538D
ΔE00 6.50
Twilight
#4E518B
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4155AB #AB9741
analogous
#418AAB #4155AB #6241AB
triadic
#4155AB #AB4155 #55AB41
tetradic
#4155AB #AB418A #AB9741 #41AB62
square
#4155AB #AB418A #AB9741 #41AB62
split-complementary
#4155AB #AB6241 #8AAB41
monochromatic
#1F2952 #303F7F #4155AB #6577C4 #919ED5
Accessibility & contrast
On white
6.75
#4155AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#4155AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4155AB
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4155AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4155AB | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#0F57A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4155ab; /* rgb */ color: rgb(65, 85, 171); /* oklch */ color: oklch(48.0% 0.139 270.5);
Tailwind
colors: {
custom: {
50: '#8084c4',
500: '#4155ab',
950: '#000000',
},
}SCSS
$custom: #4155ab; $custom-light: #8084c4; $custom-dark: #000000;
JSON
{
"hex": "#4155ab",
"rgb": {
"r": 65,
"g": 85,
"b": 171
},
"hsl": {
"h": 228.679,
"s": 44.915,
"l": 46.275
},
"oklch": {
"l": 0.48004,
"c": 0.13904,
"h": 270.5
},
"luminance": 0.10561
}Semantic roles & 50–950 ramp
primary
#4155AB
secondary
#C1B687
accent
#BC53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82