#3848AF#3848AF
#3848AF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.164 H 271.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #3848AF |
|---|---|
| RGB | rgb(56, 72, 175) |
| HSL | hsl(232, 52%, 45%) |
| HSV | hsv(232, 68%, 69%) |
| CMYK | cmyk(68%, 58.9%, 0%, 31.4%) |
| CIE-LAB | lab(35.14, 28.17, -56.93) |
| CIE-LCH | lch(35.14, 63.52, 296.32°) |
| OKLab | oklab(45.18% 0.0043 -0.164) |
| OKLCH | oklch(45.18% 0.164 271.5) |
| XYZ | xyz(11.6835, 8.5695, 41.5875) |
| Luminance | 0.0857 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.77
Cobalt
#0047AB
ΔE00 4.56
Ocean Blue
#4F42B5
ΔE00 4.59
Sapphire (survey)
#2138AB
ΔE00 4.85
Blueberry
#464196
ΔE00 5.11
Sapphire
#0F52BA
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3848AF #AF9F38
analogous
#3883AF #3848AF #6438AF
triadic
#3848AF #AF3848 #48AF38
tetradic
#3848AF #AF3883 #AF9F38 #38AF64
square
#3848AF #AF3883 #AF9F38 #38AF64
split-complementary
#3848AF #AF6438 #83AF38
monochromatic
#1A2252 #293581 #3848AF #5A69CA #8893D9
Accessibility & contrast
On white
7.74
#3848AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#3848AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3848AF
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3848AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3848AF | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3848af; /* rgb */ color: rgb(56, 72, 175); /* oklch */ color: oklch(45.2% 0.164 271.5);
Tailwind
colors: {
custom: {
50: '#7d7ac8',
500: '#3848af',
950: '#000000',
},
}SCSS
$custom: #3848af; $custom-light: #7d7ac8; $custom-dark: #000000;
JSON
{
"hex": "#3848af",
"rgb": {
"r": 56,
"g": 72,
"b": 175
},
"hsl": {
"h": 231.933,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.45185,
"c": 0.16407,
"h": 271.5
},
"luminance": 0.08571
}Semantic roles & 50–950 ramp
primary
#3848AF
secondary
#C3BA80
accent
#C84DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82