#3848B6#3848B6
#3848B6 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.174 H 271.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3848B6 |
|---|---|
| RGB | rgb(56, 72, 182) |
| HSL | hsl(232, 53%, 47%) |
| HSV | hsv(232, 69%, 71%) |
| CMYK | cmyk(69.2%, 60.4%, 0%, 28.6%) |
| CIE-LAB | lab(35.70, 30.68, -60.18) |
| CIE-LCH | lch(35.70, 67.55, 297.02°) |
| OKLab | oklab(45.77% 0.0043 -0.1735) |
| OKLCH | oklch(45.77% 0.174 271.4) |
| XYZ | xyz(12.3889, 8.8517, 45.3025) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.00
Ocean Blue
#4F42B5
ΔE00 4.25
Cobalt
#0047AB
ΔE00 4.96
Sapphire (survey)
#2138AB
ΔE00 4.99
Blue (survey)
#0343DF
ΔE00 5.28
Sapphire
#0F52BA
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3848B6 #B6A638
analogous
#3887B6 #3848B6 #6738B6
triadic
#3848B6 #B63848 #48B638
tetradic
#3848B6 #B63887 #B6A638 #38B667
square
#3848B6 #B63887 #B6A638 #38B667
split-complementary
#3848B6 #B66738 #87B638
monochromatic
#1B2358 #2A3587 #3848B6 #5E6CCD #8D97DC
Accessibility & contrast
On white
7.58
#3848B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#3848B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3848B6
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3848B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3848B6 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3848b6; /* rgb */ color: rgb(56, 72, 182); /* oklch */ color: oklch(45.8% 0.174 271.4);
Tailwind
colors: {
custom: {
50: '#7f7bcd',
500: '#3848b6',
950: '#000000',
},
}SCSS
$custom: #3848b6; $custom-light: #7f7bcd; $custom-dark: #000000;
JSON
{
"hex": "#3848b6",
"rgb": {
"r": 56,
"g": 72,
"b": 182
},
"hsl": {
"h": 232.381,
"s": 52.941,
"l": 46.667
},
"oklch": {
"l": 0.45771,
"c": 0.17358,
"h": 271.4
},
"luminance": 0.08853
}Semantic roles & 50–950 ramp
primary
#3848B6
secondary
#C6BE84
accent
#CA4BDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82