#3848BB#3848BB
#3848BB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.180 H 271.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3848BB |
|---|---|
| RGB | rgb(56, 72, 187) |
| HSL | hsl(233, 54%, 48%) |
| HSV | hsv(233, 70%, 73%) |
| CMYK | cmyk(70.1%, 61.5%, 0%, 26.7%) |
| CIE-LAB | lab(36.10, 32.47, -62.46) |
| CIE-LCH | lch(36.10, 70.39, 297.47°) |
| OKLab | oklab(46.2% 0.0042 -0.1802) |
| OKLCH | oklch(46.2% 0.18 271.3) |
| XYZ | xyz(12.9149, 9.0621, 48.0726) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.57
Ocean Blue
#4F42B5
ΔE00 4.15
Blue (survey)
#0343DF
ΔE00 4.67
Sapphire (survey)
#2138AB
ΔE00 5.23
Cobalt
#0047AB
ΔE00 5.35
Sapphire
#0F52BA
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3848BB #BBAB38
analogous
#3889BB #3848BB #6A38BB
triadic
#3848BB #BB3848 #48BB38
tetradic
#3848BB #BB3889 #BBAB38 #38BB6A
square
#3848BB #BB3889 #BBAB38 #38BB6A
split-complementary
#3848BB #BB6A38 #89BB38
monochromatic
#1C245D #2A368C #3848BB #616ED0 #9099DE
Accessibility & contrast
On white
7.47
#3848BB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#3848BB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3848BB
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3848BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3848BB | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #3848bb; /* rgb */ color: rgb(56, 72, 187); /* oklch */ color: oklch(46.2% 0.180 271.3);
Tailwind
colors: {
custom: {
50: '#807bd0',
500: '#3848bb',
950: '#000000',
},
}SCSS
$custom: #3848bb; $custom-light: #807bd0; $custom-dark: #000000;
JSON
{
"hex": "#3848bb",
"rgb": {
"r": 56,
"g": 72,
"b": 187
},
"hsl": {
"h": 232.672,
"s": 53.909,
"l": 47.647
},
"oklch": {
"l": 0.46198,
"c": 0.18028,
"h": 271.3
},
"luminance": 0.09063
}Semantic roles & 50–950 ramp
primary
#3848BB
secondary
#C8C086
accent
#CB4BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82