#3848B5#3848B5
#3848B5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.172 H 271.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #3848B5 |
|---|---|
| RGB | rgb(56, 72, 181) |
| HSL | hsl(232, 53%, 46%) |
| HSV | hsv(232, 69%, 71%) |
| CMYK | cmyk(69.1%, 60.2%, 0%, 29%) |
| CIE-LAB | lab(35.62, 30.32, -59.72) |
| CIE-LCH | lch(35.62, 66.97, 296.92°) |
| OKLab | oklab(45.69% 0.0043 -0.1722) |
| OKLCH | oklch(45.69% 0.172 271.4) |
| XYZ | xyz(12.2859, 8.8105, 44.7602) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.10
Ocean Blue
#4F42B5
ΔE00 4.29
Cobalt
#0047AB
ΔE00 4.90
Sapphire (survey)
#2138AB
ΔE00 4.96
Blue (survey)
#0343DF
ΔE00 5.41
Sapphire
#0F52BA
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3848B5 #B5A538
analogous
#3887B5 #3848B5 #6738B5
triadic
#3848B5 #B53848 #48B538
tetradic
#3848B5 #B53887 #B5A538 #38B567
square
#3848B5 #B53887 #B5A538 #38B567
split-complementary
#3848B5 #B56738 #87B538
monochromatic
#1B2358 #2A3586 #3848B5 #5D6CCD #8C96DB
Accessibility & contrast
On white
7.60
#3848B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#3848B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3848B5
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3848B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3848B5 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #3848b5; /* rgb */ color: rgb(56, 72, 181); /* oklch */ color: oklch(45.7% 0.172 271.4);
Tailwind
colors: {
custom: {
50: '#7e7acc',
500: '#3848b5',
950: '#000000',
},
}SCSS
$custom: #3848b5; $custom-light: #7e7acc; $custom-dark: #000000;
JSON
{
"hex": "#3848b5",
"rgb": {
"r": 56,
"g": 72,
"b": 181
},
"hsl": {
"h": 232.32,
"s": 52.743,
"l": 46.471
},
"oklch": {
"l": 0.45687,
"c": 0.17223,
"h": 271.4
},
"luminance": 0.08812
}Semantic roles & 50–950 ramp
primary
#3848B5
secondary
#C6BD83
accent
#CA4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82