#382FAF#382FAF
#382FAF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.193 H 276.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #382FAF |
|---|---|
| RGB | rgb(56, 47, 175) |
| HSL | hsl(244, 58%, 44%) |
| HSV | hsv(244, 73%, 69%) |
| CMYK | cmyk(68%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(29.33, 43.62, -66.45) |
| CIE-LCH | lch(29.33, 79.49, 303.28°) |
| OKLab | oklab(40.95% 0.0226 -0.192) |
| OKLCH | oklch(40.95% 0.193 276.7) |
| XYZ | xyz(10.3827, 5.9680, 41.1539) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.94
Indigo Blue
#3A18B1
ΔE00 4.42
Ocean Blue
#4F42B5
ΔE00 5.52
Blue With A Hint Of Purple
#533CC6
ΔE00 5.66
Blurple
#5539CC
ΔE00 6.05
True Blue
#010FCC
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#382FAF #A6AF2F
analogous
#2F66AF #382FAF #782FAF
triadic
#382FAF #AF382F #2FAF38
tetradic
#382FAF #AF2F66 #A6AF2F #2FAF78
square
#382FAF #AF2F66 #A6AF2F #2FAF78
split-complementary
#382FAF #AF782F #66AF2F
monochromatic
#19154F #29227F #382FAF #554CCF #837CDC
Accessibility & contrast
On white
9.57
#382FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#382FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #382FAF
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##382FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##382FAF | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #382faf; /* rgb */ color: rgb(56, 47, 175); /* oklch */ color: oklch(41.0% 0.193 276.7);
Tailwind
colors: {
custom: {
50: '#7f69c8',
500: '#382faf',
950: '#000000',
},
}SCSS
$custom: #382faf; $custom-light: #7f69c8; $custom-dark: #000000;
JSON
{
"hex": "#382faf",
"rgb": {
"r": 56,
"g": 47,
"b": 175
},
"hsl": {
"h": 244.219,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.40952,
"c": 0.19329,
"h": 276.7
},
"luminance": 0.05969
}Semantic roles & 50–950 ramp
primary
#382FAF
secondary
#BFC475
accent
#E147D6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82