#3855AC#3855AC
#3855AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.143 H 267.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3855AC |
|---|---|
| RGB | rgb(56, 85, 172) |
| HSL | hsl(225, 51%, 45%) |
| HSV | hsv(225, 67%, 67%) |
| CMYK | cmyk(67.4%, 50.6%, 0%, 32.5%) |
| CIE-LAB | lab(38.40, 18.57, -49.88) |
| CIE-LCH | lch(38.40, 53.22, 290.42°) |
| OKLab | oklab(47.57% -0.0075 -0.1431) |
| OKLCH | oklch(47.57% 0.143 267) |
| XYZ | xyz(12.3232, 10.3151, 40.3633) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.34
Denim Blue
#3B5B92
ΔE00 4.33
Dusky Blue
#475F94
ΔE00 5.11
Cobalt
#0047AB
ΔE00 5.19
Dusk Blue
#26538D
ΔE00 5.46
Denim
#1560BD
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3855AC #AC8F38
analogous
#388FAC #3855AC #5538AC
triadic
#3855AC #AC3855 #55AC38
tetradic
#3855AC #AC388F #AC8F38 #38AC55
square
#3855AC #AC388F #AC8F38 #38AC55
split-complementary
#3855AC #AC5538 #8FAC38
monochromatic
#1A2750 #293E7E #3855AC #5875C9 #879BD8
Accessibility & contrast
On white
6.86
#3855AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3855AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3855AC
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3855AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3855AC | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3855ac; /* rgb */ color: rgb(56, 85, 172); /* oklch */ color: oklch(47.6% 0.143 267.0);
Tailwind
colors: {
custom: {
50: '#7c84c5',
500: '#3855ac',
950: '#000000',
},
}SCSS
$custom: #3855ac; $custom-light: #7c84c5; $custom-dark: #000000;
JSON
{
"hex": "#3855ac",
"rgb": {
"r": 56,
"g": 85,
"b": 172
},
"hsl": {
"h": 225,
"s": 50.877,
"l": 44.706
},
"oklch": {
"l": 0.47569,
"c": 0.14327,
"h": 267
},
"luminance": 0.10316
}Semantic roles & 50–950 ramp
primary
#3855AC
secondary
#C2B17E
accent
#B74DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82