#3855AB#3855AB
#3855AB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.142 H 266.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3855AB |
|---|---|
| RGB | rgb(56, 85, 171) |
| HSL | hsl(225, 51%, 45%) |
| HSV | hsv(225, 67%, 67%) |
| CMYK | cmyk(67.3%, 50.3%, 0%, 32.9%) |
| CIE-LAB | lab(38.33, 18.21, -49.39) |
| CIE-LCH | lch(38.33, 52.64, 290.23°) |
| OKLab | oklab(47.5% -0.0077 -0.1416) |
| OKLCH | oklch(47.5% 0.142 266.9) |
| XYZ | xyz(12.2275, 10.2769, 39.8594) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.39
Denim Blue
#3B5B92
ΔE00 4.22
Dusky Blue
#475F94
ΔE00 5.02
Cobalt
#0047AB
ΔE00 5.18
Dusk Blue
#26538D
ΔE00 5.35
Denim
#1560BD
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3855AB #AB8E38
analogous
#388EAB #3855AB #5538AB
triadic
#3855AB #AB3855 #55AB38
tetradic
#3855AB #AB388E #AB8E38 #38AB55
square
#3855AB #AB388E #AB8E38 #38AB55
split-complementary
#3855AB #AB5538 #8EAB38
monochromatic
#1A274F #293E7D #3855AB #5874C8 #869BD7
Accessibility & contrast
On white
6.87
#3855AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3855AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3855AB
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3855AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3855AB | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2560AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3855ab; /* rgb */ color: rgb(56, 85, 171); /* oklch */ color: oklch(47.5% 0.142 266.9);
Tailwind
colors: {
custom: {
50: '#7c84c5',
500: '#3855ab',
950: '#000000',
},
}SCSS
$custom: #3855ab; $custom-light: #7c84c5; $custom-dark: #000000;
JSON
{
"hex": "#3855ab",
"rgb": {
"r": 56,
"g": 85,
"b": 171
},
"hsl": {
"h": 224.87,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.47496,
"c": 0.14185,
"h": 266.9
},
"luminance": 0.10278
}Semantic roles & 50–950 ramp
primary
#3855AB
secondary
#C1B07D
accent
#B74EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82