#38458E#38458E
#38458E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.121 H 272.6°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #38458E |
|---|---|
| RGB | rgb(56, 69, 142) |
| HSL | hsl(231, 43%, 39%) |
| HSV | hsv(231, 61%, 56%) |
| CMYK | cmyk(60.6%, 51.4%, 0%, 44.3%) |
| CIE-LAB | lab(31.92, 18.27, -42.24) |
| CIE-LCH | lch(31.92, 46.02, 293.39°) |
| OKLab | oklab(42% 0.0054 -0.1208) |
| OKLCH | oklch(42% 0.121 272.6) |
| XYZ | xyz(8.6399, 7.0493, 26.4913) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.86
Cobalt (survey)
#1E488F
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 5.06
Twilight
#4E518B
ΔE00 5.46
Cobalt
#0047AB
ΔE00 6.03
Sapphire (survey)
#2138AB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38458E #8E8138
analogous
#38708E #38458E #56388E
triadic
#38458E #8E3845 #458E38
tetradic
#38458E #8E3870 #8E8138 #388E56
square
#38458E #8E3870 #8E8138 #388E56
split-complementary
#38458E #8E5638 #708E38
monochromatic
#151A36 #273062 #38458E #4B5CB8 #7783C9
Accessibility & contrast
On white
8.71
#38458E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#38458E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38458E
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38458E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38458E | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#0D488C
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #38458e; /* rgb */ color: rgb(56, 69, 142); /* oklch */ color: oklch(42.0% 0.121 272.6);
Tailwind
colors: {
custom: {
50: '#7778af',
500: '#38458e',
950: '#000000',
},
}SCSS
$custom: #38458e; $custom-light: #7778af; $custom-dark: #000000;
JSON
{
"hex": "#38458e",
"rgb": {
"r": 56,
"g": 69,
"b": 142
},
"hsl": {
"h": 230.93,
"s": 43.434,
"l": 38.824
},
"oklch": {
"l": 0.42001,
"c": 0.12094,
"h": 272.6
},
"luminance": 0.0705
}Semantic roles & 50–950 ramp
primary
#38458E
secondary
#B2A86F
accent
#C055D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090810
muted
#7B7B7F