#3848B7#3848B7
#3848B7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.175 H 271.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3848B7 |
|---|---|
| RGB | rgb(56, 72, 183) |
| HSL | hsl(232, 53%, 47%) |
| HSV | hsv(232, 69%, 72%) |
| CMYK | cmyk(69.4%, 60.7%, 0%, 28.2%) |
| CIE-LAB | lab(35.78, 31.04, -60.63) |
| CIE-LCH | lch(35.78, 68.12, 297.11°) |
| OKLab | oklab(45.86% 0.0042 -0.1749) |
| OKLCH | oklch(45.86% 0.175 271.4) |
| XYZ | xyz(12.4926, 8.8932, 45.8488) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.90
Ocean Blue
#4F42B5
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.04
Blue (survey)
#0343DF
ΔE00 5.16
Sapphire
#0F52BA
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3848B7 #B7A738
analogous
#3888B7 #3848B7 #6838B7
triadic
#3848B7 #B73848 #48B738
tetradic
#3848B7 #B73888 #B7A738 #38B768
square
#3848B7 #B73888 #B7A738 #38B768
split-complementary
#3848B7 #B76838 #88B738
monochromatic
#1B2359 #2A3688 #3848B7 #5E6CCE #8D97DC
Accessibility & contrast
On white
7.56
#3848B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#3848B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3848B7
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3848B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3848B7 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3848b7; /* rgb */ color: rgb(56, 72, 183); /* oklch */ color: oklch(45.9% 0.175 271.4);
Tailwind
colors: {
custom: {
50: '#7f7bcd',
500: '#3848b7',
950: '#000000',
},
}SCSS
$custom: #3848b7; $custom-light: #7f7bcd; $custom-dark: #000000;
JSON
{
"hex": "#3848b7",
"rgb": {
"r": 56,
"g": 72,
"b": 183
},
"hsl": {
"h": 232.441,
"s": 53.138,
"l": 46.863
},
"oklch": {
"l": 0.45856,
"c": 0.17493,
"h": 271.4
},
"luminance": 0.08894
}Semantic roles & 50–950 ramp
primary
#3848B7
secondary
#C7BE84
accent
#CA4BDD
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82