#3862AA#3862AA
#3862AA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.3% C 0.124 H 260.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3862AA |
|---|---|
| RGB | rgb(56, 98, 170) |
| HSL | hsl(218, 50%, 44%) |
| HSV | hsv(218, 67%, 67%) |
| CMYK | cmyk(67.1%, 42.4%, 0%, 33.3%) |
| CIE-LAB | lab(41.96, 9.42, -42.98) |
| CIE-LCH | lch(41.96, 44.00, 282.36°) |
| OKLab | oklab(50.26% -0.0206 -0.1226) |
| OKLCH | oklch(50.26% 0.124 260.5) |
| XYZ | xyz(13.2517, 12.4771, 39.7324) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.95
French Blue
#436BAD
ΔE00 3.16
Denim Blue
#3B5B92
ΔE00 3.82
Denim (survey)
#3B638C
ΔE00 4.10
Mid Blue
#276AB3
ΔE00 4.19
Dusky Blue
#475F94
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3862AA #AA8038
analogous
#389BAA #3862AA #4738AA
triadic
#3862AA #AA3862 #62AA38
tetradic
#3862AA #AA389B #AA8038 #38AA47
square
#3862AA #AA389B #AA8038 #38AA47
split-complementary
#3862AA #AA4738 #9BAA38
monochromatic
#1A2D4E #29477C #3862AA #5781C8 #85A3D7
Accessibility & contrast
On white
6.01
#3862AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#3862AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3862AA
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3862AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3862AA | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4169AD
Deuteranopia (green-blind)
#2F5EA9
Tritanopia (blue-blind)
#00737D
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3862aa; /* rgb */ color: rgb(56, 98, 170); /* oklch */ color: oklch(50.3% 0.124 260.5);
Tailwind
colors: {
custom: {
50: '#7b8ec4',
500: '#3862aa',
950: '#000000',
},
}SCSS
$custom: #3862aa; $custom-light: #7b8ec4; $custom-dark: #000000;
JSON
{
"hex": "#3862aa",
"rgb": {
"r": 56,
"g": 98,
"b": 170
},
"hsl": {
"h": 217.895,
"s": 50.442,
"l": 44.314
},
"oklch": {
"l": 0.5026,
"c": 0.12432,
"h": 260.5
},
"luminance": 0.12478
}Semantic roles & 50–950 ramp
primary
#3862AA
secondary
#C1A87D
accent
#A64EDA
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81