#38299F#38299F
#38299F is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.180 H 279.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #38299F |
|---|---|
| RGB | rgb(56, 41, 159) |
| HSL | hsl(248, 59%, 39%) |
| HSV | hsv(248, 74%, 62%) |
| CMYK | cmyk(64.8%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.53, 41.83, -61.40) |
| CIE-LCH | lch(26.53, 74.30, 304.27°) |
| OKLab | oklab(38.48% 0.0297 -0.1772) |
| OKLCH | oklch(38.48% 0.18 279.5) |
| XYZ | xyz(8.6798, 4.9291, 33.2882) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.91
Sapphire (survey)
#2138AB
ΔE00 5.31
Royal
#0C1793
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 6.14
Ultramarine
#2000B1
ΔE00 6.28
Royal Blue (survey)
#0504AA
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38299F #909F29
analogous
#29559F #38299F #73299F
triadic
#38299F #9F3829 #299F38
tetradic
#38299F #9F2955 #909F29 #299F73
square
#38299F #9F2955 #909F29 #299F73
split-complementary
#38299F #9F7329 #559F29
monochromatic
#16103E #271C6E #38299F #4C39CC #786AD9
Accessibility & contrast
On white
10.57
#38299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#38299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38299F
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38299F | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #38299f; /* rgb */ color: rgb(56, 41, 159); /* oklch */ color: oklch(38.5% 0.180 279.5);
Tailwind
colors: {
custom: {
50: '#7c65bc',
500: '#38299f',
950: '#000000',
},
}SCSS
$custom: #38299f; $custom-light: #7c65bc; $custom-dark: #000000;
JSON
{
"hex": "#38299f",
"rgb": {
"r": 56,
"g": 41,
"b": 159
},
"hsl": {
"h": 247.627,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.38484,
"c": 0.17969,
"h": 279.5
},
"luminance": 0.0493
}Semantic roles & 50–950 ramp
primary
#38299F
secondary
#B4BF65
accent
#E246CE
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81