#38349C#38349C
#38349C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.163 H 277.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #38349C |
|---|---|
| RGB | rgb(56, 52, 156) |
| HSL | hsl(242, 50%, 41%) |
| HSV | hsv(242, 67%, 61%) |
| CMYK | cmyk(64.1%, 66.7%, 0%, 38.8%) |
| CIE-LAB | lab(28.63, 34.31, -56.13) |
| CIE-LCH | lch(28.63, 65.78, 301.43°) |
| OKLab | oklab(39.91% 0.0219 -0.1618) |
| OKLCH | oklch(39.91% 0.163 277.7) |
| XYZ | xyz(8.8577, 5.6963, 32.0788) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.49
Blueberry
#464196
ΔE00 4.34
Darkslateblue
#483D8B
ΔE00 4.91
Ocean Blue
#4F42B5
ΔE00 5.79
Indigo Blue
#3A18B1
ΔE00 6.66
Blue Blue
#2242C7
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38349C #989C34
analogous
#34649C #38349C #6C349C
triadic
#38349C #9C3834 #349C38
tetradic
#38349C #9C3464 #989C34 #349C6C
square
#38349C #9C3464 #989C34 #349C6C
split-complementary
#38349C #9C6C34 #649C34
monochromatic
#171540 #28256E #38349C #4F4AC3 #7C78D2
Accessibility & contrast
On white
9.82
#38349C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#38349C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38349C
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38349C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38349C | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #38349c; /* rgb */ color: rgb(56, 52, 156); /* oklch */ color: oklch(39.9% 0.163 277.7);
Tailwind
colors: {
custom: {
50: '#7b6cba',
500: '#38349c',
950: '#000000',
},
}SCSS
$custom: #38349c; $custom-light: #7b6cba; $custom-dark: #000000;
JSON
{
"hex": "#38349c",
"rgb": {
"r": 56,
"g": 52,
"b": 156
},
"hsl": {
"h": 242.308,
"s": 50,
"l": 40.784
},
"oklch": {
"l": 0.39906,
"c": 0.16327,
"h": 277.7
},
"luminance": 0.05697
}Semantic roles & 50–950 ramp
primary
#38349C
secondary
#B8BB71
accent
#DA4ED4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81