#38488E#38488E
#38488E is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.117 H 271.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #38488E |
|---|---|
| RGB | rgb(56, 72, 142) |
| HSL | hsl(229, 43%, 39%) |
| HSV | hsv(229, 61%, 56%) |
| CMYK | cmyk(60.6%, 49.3%, 0%, 44.3%) |
| CIE-LAB | lab(32.76, 16.27, -40.88) |
| CIE-LCH | lch(32.76, 44.00, 291.70°) |
| OKLab | oklab(42.64% 0.0021 -0.1168) |
| OKLCH | oklch(42.64% 0.117 271) |
| XYZ | xyz(8.8291, 7.4278, 26.5544) |
| Luminance | 0.0743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.07
Blueberry
#464196
ΔE00 4.70
Twilight
#4E518B
ΔE00 5.05
Cobalt
#0047AB
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 5.98
Dusk Blue
#26538D
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38488E #8E7E38
analogous
#38738E #38488E #53388E
triadic
#38488E #8E3848 #488E38
tetradic
#38488E #8E3873 #8E7E38 #388E53
square
#38488E #8E3873 #8E7E38 #388E53
split-complementary
#38488E #8E5338 #738E38
monochromatic
#151B36 #273262 #38488E #4B5FB8 #7786C9
Accessibility & contrast
On white
8.45
#38488E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#38488E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38488E
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38488E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38488E | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#17498D
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #38488e; /* rgb */ color: rgb(56, 72, 142); /* oklch */ color: oklch(42.6% 0.117 271.0);
Tailwind
colors: {
custom: {
50: '#777aaf',
500: '#38488e',
950: '#000000',
},
}SCSS
$custom: #38488e; $custom-light: #777aaf; $custom-dark: #000000;
JSON
{
"hex": "#38488e",
"rgb": {
"r": 56,
"g": 72,
"b": 142
},
"hsl": {
"h": 228.837,
"s": 43.434,
"l": 38.824
},
"oklch": {
"l": 0.4264,
"c": 0.11682,
"h": 271
},
"luminance": 0.07428
}Semantic roles & 50–950 ramp
primary
#38488E
secondary
#B2A66F
accent
#BC55D3
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F