#3843AA#3843AA
#3843AA is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.164 H 273.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #3843AA |
|---|---|
| RGB | rgb(56, 67, 170) |
| HSL | hsl(234, 50%, 44%) |
| HSV | hsv(234, 67%, 67%) |
| CMYK | cmyk(67.1%, 60.6%, 0%, 33.3%) |
| CIE-LAB | lab(33.47, 29.62, -56.68) |
| CIE-LCH | lch(33.47, 63.95, 297.59°) |
| OKLab | oklab(43.82% 0.0085 -0.1633) |
| OKLCH | oklch(43.82% 0.164 273) |
| XYZ | xyz(10.8913, 7.7564, 38.9456) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.55
Blueberry
#464196
ΔE00 4.03
Blue Blue
#2242C7
ΔE00 4.03
Ocean Blue
#4F42B5
ΔE00 4.08
Cobalt
#0047AB
ΔE00 5.15
Darkslateblue
#483D8B
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3843AA #AA9F38
analogous
#387CAA #3843AA #6638AA
triadic
#3843AA #AA3843 #43AA38
tetradic
#3843AA #AA387C #AA9F38 #38AA66
square
#3843AA #AA387C #AA9F38 #38AA66
split-complementary
#3843AA #AA6638 #7CAA38
monochromatic
#1A1F4E #29317C #3843AA #5762C8 #858DD7
Accessibility & contrast
On white
8.23
#3843AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#3843AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3843AA
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3843AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3843AA | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3843aa; /* rgb */ color: rgb(56, 67, 170); /* oklch */ color: oklch(43.8% 0.164 273.0);
Tailwind
colors: {
custom: {
50: '#7c77c4',
500: '#3843aa',
950: '#000000',
},
}SCSS
$custom: #3843aa; $custom-light: #7c77c4; $custom-dark: #000000;
JSON
{
"hex": "#3843aa",
"rgb": {
"r": 56,
"g": 67,
"b": 170
},
"hsl": {
"h": 234.211,
"s": 50.442,
"l": 44.314
},
"oklch": {
"l": 0.43821,
"c": 0.16352,
"h": 273
},
"luminance": 0.07757
}Semantic roles & 50–950 ramp
primary
#3843AA
secondary
#C1BA7D
accent
#CC4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82