#3848AB#3848AB
#3848AB is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.159 H 271.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #3848AB |
|---|---|
| RGB | rgb(56, 72, 171) |
| HSL | hsl(232, 51%, 45%) |
| HSV | hsv(232, 67%, 67%) |
| CMYK | cmyk(67.3%, 57.9%, 0%, 32.9%) |
| CIE-LAB | lab(34.83, 26.73, -55.06) |
| CIE-LCH | lch(34.83, 61.20, 295.89°) |
| OKLab | oklab(44.86% 0.0042 -0.1585) |
| OKLCH | oklch(44.86% 0.159 271.5) |
| XYZ | xyz(11.2965, 8.4147, 39.5491) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.27
Cobalt
#0047AB
ΔE00 4.42
Blueberry
#464196
ΔE00 4.78
Ocean Blue
#4F42B5
ΔE00 4.87
Sapphire (survey)
#2138AB
ΔE00 4.87
Sapphire
#0F52BA
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3848AB #AB9B38
analogous
#3882AB #3848AB #6238AB
triadic
#3848AB #AB3848 #48AB38
tetradic
#3848AB #AB3882 #AB9B38 #38AB62
square
#3848AB #AB3882 #AB9B38 #38AB62
split-complementary
#3848AB #AB6238 #82AB38
monochromatic
#1A214F #29357D #3848AB #5868C8 #8691D7
Accessibility & contrast
On white
7.83
#3848AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#3848AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3848AB
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3848AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3848AB | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3848ab; /* rgb */ color: rgb(56, 72, 171); /* oklch */ color: oklch(44.9% 0.159 271.5);
Tailwind
colors: {
custom: {
50: '#7c7ac5',
500: '#3848ab',
950: '#000000',
},
}SCSS
$custom: #3848ab; $custom-light: #7c7ac5; $custom-dark: #000000;
JSON
{
"hex": "#3848ab",
"rgb": {
"r": 56,
"g": 72,
"b": 171
},
"hsl": {
"h": 231.652,
"s": 50.661,
"l": 44.51
},
"oklch": {
"l": 0.44857,
"c": 0.15855,
"h": 271.5
},
"luminance": 0.08416
}Semantic roles & 50–950 ramp
primary
#3848AB
secondary
#C1B87D
accent
#C74EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82