#38309F#38309F
#38309F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.172 H 278.3°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).
Color values
| HEX | #38309F |
|---|---|
| RGB | rgb(56, 48, 159) |
| HSL | hsl(244, 54%, 41%) |
| HSV | hsv(244, 70%, 62%) |
| CMYK | cmyk(64.8%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(28.00, 37.77, -58.99) |
| CIE-LCH | lch(28.00, 70.05, 302.63°) |
| OKLab | oklab(39.53% 0.0247 -0.1702) |
| OKLCH | oklch(39.53% 0.172 278.3) |
| XYZ | xyz(8.9438, 5.4571, 33.3762) |
| Luminance | 0.0546 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Indigo Blue
#3A18B1
ΔE00 5.42
Blueberry
#464196
ΔE00 5.43
Darkslateblue
#483D8B
ΔE00 5.83
Ocean Blue
#4F42B5
ΔE00 6.16
Royal
#0C1793
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38309F #979F30
analogous
#30609F #38309F #6F309F
triadic
#38309F #9F3830 #309F38
tetradic
#38309F #9F3060 #979F30 #309F6F
square
#38309F #9F3060 #979F30 #309F6F
split-complementary
#38309F #9F6F30 #609F30
monochromatic
#171441 #272270 #38309F #4F45C7 #7B74D5
Accessibility & contrast
On white
10.04
#38309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#38309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38309F
10.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38309F | 1.00 | 10.04 | 2.09 | 10.04 |
| #FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #38309f; /* rgb */ color: rgb(56, 48, 159); /* oklch */ color: oklch(39.5% 0.172 278.3);
Tailwind
colors: {
custom: {
50: '#7c69bc',
500: '#38309f',
950: '#000000',
},
}SCSS
$custom: #38309f; $custom-light: #7c69bc; $custom-dark: #000000;
JSON
{
"hex": "#38309f",
"rgb": {
"r": 56,
"g": 48,
"b": 159
},
"hsl": {
"h": 244.324,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.39532,
"c": 0.17196,
"h": 278.3
},
"luminance": 0.05458
}Semantic roles & 50–950 ramp
primary
#38309F
secondary
#B7BD6E
accent
#DD4BD2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81