#3846B3#3846B3
#3846B3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.172 H 272.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3846B3 |
|---|---|
| RGB | rgb(56, 70, 179) |
| HSL | hsl(233, 52%, 46%) |
| HSV | hsv(233, 69%, 70%) |
| CMYK | cmyk(68.7%, 60.9%, 0%, 29.8%) |
| CIE-LAB | lab(34.95, 30.90, -59.62) |
| CIE-LCH | lch(34.95, 67.15, 297.40°) |
| OKLab | oklab(45.14% 0.0059 -0.1719) |
| OKLCH | oklch(45.14% 0.172 272) |
| XYZ | xyz(11.9550, 8.4746, 43.6448) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.06
Ocean Blue
#4F42B5
ΔE00 3.97
Sapphire (survey)
#2138AB
ΔE00 4.38
Cobalt
#0047AB
ΔE00 5.01
Blueberry
#464196
ΔE00 5.23
Blue (survey)
#0343DF
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3846B3 #B3A538
analogous
#3883B3 #3846B3 #6738B3
triadic
#3846B3 #B33846 #46B338
tetradic
#3846B3 #B33883 #B3A538 #38B367
square
#3846B3 #B33883 #B3A538 #38B367
split-complementary
#3846B3 #B36738 #83B338
monochromatic
#1B2256 #293484 #3846B3 #5C69CC #8B94DB
Accessibility & contrast
On white
7.79
#3846B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#3846B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3846B3
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3846B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3846B3 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3846b3; /* rgb */ color: rgb(56, 70, 179); /* oklch */ color: oklch(45.1% 0.172 272.0);
Tailwind
colors: {
custom: {
50: '#7e79cb',
500: '#3846b3',
950: '#000000',
},
}SCSS
$custom: #3846b3; $custom-light: #7e79cb; $custom-dark: #000000;
JSON
{
"hex": "#3846b3",
"rgb": {
"r": 56,
"g": 70,
"b": 179
},
"hsl": {
"h": 233.171,
"s": 52.34,
"l": 46.078
},
"oklch": {
"l": 0.45144,
"c": 0.17201,
"h": 272
},
"luminance": 0.08476
}Semantic roles & 50–950 ramp
primary
#3846B3
secondary
#C5BD82
accent
#CB4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82