#38579E#38579E
#38579E is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.121 H 264.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #38579E |
|---|---|
| RGB | rgb(56, 87, 158) |
| HSL | hsl(222, 48%, 42%) |
| HSV | hsv(222, 65%, 62%) |
| CMYK | cmyk(64.6%, 44.9%, 0%, 38%) |
| CIE-LAB | lab(38.07, 12.15, -42.08) |
| CIE-LCH | lch(38.07, 43.80, 286.11°) |
| OKLab | oklab(47.02% -0.0116 -0.1201) |
| OKLCH | oklch(47.02% 0.121 264.5) |
| XYZ | xyz(11.2085, 10.1247, 33.7047) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.29
Dusky Blue
#475F94
ΔE00 3.60
Dusk Blue
#26538D
ΔE00 3.84
Sapphire
#0F52BA
ΔE00 4.41
Light Navy Blue
#2E5A88
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38579E #9E7F38
analogous
#388A9E #38579E #4C389E
triadic
#38579E #9E3857 #579E38
tetradic
#38579E #9E388A #9E7F38 #389E4C
square
#38579E #9E388A #9E7F38 #389E4C
split-complementary
#38579E #9E4C38 #8A9E38
monochromatic
#182544 #283E71 #38579E #5274C2 #7F98D2
Accessibility & contrast
On white
6.94
#38579E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#38579E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #38579E
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38579E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38579E | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#25559D
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #38579e; /* rgb */ color: rgb(56, 87, 158); /* oklch */ color: oklch(47.0% 0.121 264.5);
Tailwind
colors: {
custom: {
50: '#7986bb',
500: '#38579e',
950: '#000000',
},
}SCSS
$custom: #38579e; $custom-light: #7986bb; $custom-dark: #000000;
JSON
{
"hex": "#38579e",
"rgb": {
"r": 56,
"g": 87,
"b": 158
},
"hsl": {
"h": 221.765,
"s": 47.664,
"l": 41.961
},
"oklch": {
"l": 0.47021,
"c": 0.12066,
"h": 264.5
},
"luminance": 0.10126
}Semantic roles & 50–950 ramp
primary
#38579E
secondary
#BBA677
accent
#AE51D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81