#38489B#38489B
#38489B is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.136 H 271.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #38489B |
|---|---|
| RGB | rgb(56, 72, 155) |
| HSL | hsl(230, 47%, 41%) |
| HSV | hsv(230, 64%, 61%) |
| CMYK | cmyk(63.9%, 53.5%, 0%, 39.2%) |
| CIE-LAB | lab(33.65, 20.95, -47.37) |
| CIE-LCH | lch(33.65, 51.79, 293.86°) |
| OKLab | oklab(43.6% 0.0034 -0.1359) |
| OKLCH | oklch(43.6% 0.136 271.4) |
| XYZ | xyz(9.8627, 7.8412, 31.9977) |
| Luminance | 0.0784 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.13
Cobalt (survey)
#1E488F
ΔE00 4.58
Cobalt
#0047AB
ΔE00 4.66
Sapphire (survey)
#2138AB
ΔE00 5.75
Twilight
#4E518B
ΔE00 6.01
Darkslateblue
#483D8B
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38489B #9B8B38
analogous
#387A9B #38489B #5A389B
triadic
#38489B #9B3848 #489B38
tetradic
#38489B #9B387A #9B8B38 #389B5A
square
#38489B #9B387A #9B8B38 #389B5A
split-complementary
#38489B #9B5A38 #7A9B38
monochromatic
#181E41 #28336E #38489B #5062C0 #7D8BD0
Accessibility & contrast
On white
8.18
#38489B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#38489B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38489B
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38489B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38489B | 1.00 | 8.18 | 2.57 | 8.18 |
| #FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#14549E
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #38489b; /* rgb */ color: rgb(56, 72, 155); /* oklch */ color: oklch(43.6% 0.136 271.4);
Tailwind
colors: {
custom: {
50: '#797ab9',
500: '#38489b',
950: '#000000',
},
}SCSS
$custom: #38489b; $custom-light: #797ab9; $custom-dark: #000000;
JSON
{
"hex": "#38489b",
"rgb": {
"r": 56,
"g": 72,
"b": 155
},
"hsl": {
"h": 230.303,
"s": 46.919,
"l": 41.373
},
"oklch": {
"l": 0.43597,
"c": 0.13591,
"h": 271.4
},
"luminance": 0.07842
}Semantic roles & 50–950 ramp
primary
#38489B
secondary
#B9AE75
accent
#C151D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80