#383FA6#383FA6
#383FA6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.163 H 274.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #383FA6 |
|---|---|
| RGB | rgb(56, 63, 166) |
| HSL | hsl(236, 50%, 44%) |
| HSV | hsv(236, 66%, 65%) |
| CMYK | cmyk(66.3%, 62%, 0%, 34.9%) |
| CIE-LAB | lab(32.14, 30.79, -56.45) |
| CIE-LCH | lch(32.14, 64.30, 298.61°) |
| OKLab | oklab(42.74% 0.012 -0.1627) |
| OKLCH | oklch(42.74% 0.163 274.2) |
| XYZ | xyz(10.2890, 7.1480, 36.9065) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.82
Blueberry
#464196
ΔE00 3.51
Ocean Blue
#4F42B5
ΔE00 4.13
Blue Blue
#2242C7
ΔE00 4.67
Darkslateblue
#483D8B
ΔE00 5.49
Cobalt
#0047AB
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#383FA6 #A69F38
analogous
#3876A6 #383FA6 #6838A6
triadic
#383FA6 #A6383F #3FA638
tetradic
#383FA6 #A63876 #A69F38 #38A668
square
#383FA6 #A63876 #A69F38 #38A668
split-complementary
#383FA6 #A66838 #76A638
monochromatic
#191C4A #292E78 #383FA6 #555DC6 #8388D5
Accessibility & contrast
On white
8.64
#383FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#383FA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #383FA6
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##383FA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##383FA6 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #383fa6; /* rgb */ color: rgb(56, 63, 166); /* oklch */ color: oklch(42.7% 0.163 274.2);
Tailwind
colors: {
custom: {
50: '#7c74c1',
500: '#383fa6',
950: '#000000',
},
}SCSS
$custom: #383fa6; $custom-light: #7c74c1; $custom-dark: #000000;
JSON
{
"hex": "#383fa6",
"rgb": {
"r": 56,
"g": 63,
"b": 166
},
"hsl": {
"h": 236.182,
"s": 49.55,
"l": 43.529
},
"oklch": {
"l": 0.42738,
"c": 0.1631,
"h": 274.2
},
"luminance": 0.07149
}Semantic roles & 50–950 ramp
primary
#383FA6
secondary
#BFBB7B
accent
#D04FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81