#38519E#38519E
#38519E is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.128 H 267.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #38519E |
|---|---|
| RGB | rgb(56, 81, 158) |
| HSL | hsl(225, 48%, 42%) |
| HSV | hsv(225, 65%, 62%) |
| CMYK | cmyk(64.6%, 48.7%, 0%, 38%) |
| CIE-LAB | lab(36.35, 16.09, -44.82) |
| CIE-LCH | lch(36.35, 47.62, 289.74°) |
| OKLab | oklab(45.71% -0.0054 -0.1282) |
| OKLCH | oklch(45.71% 0.128 267.6) |
| XYZ | xyz(10.7428, 9.1933, 33.5495) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 4.15
Cobalt (survey)
#1E488F
ΔE00 4.39
Sapphire
#0F52BA
ΔE00 4.60
Dusk Blue
#26538D
ΔE00 4.64
Cobalt
#0047AB
ΔE00 4.74
Dusky Blue
#475F94
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38519E #9E8538
analogous
#38849E #38519E #52389E
triadic
#38519E #9E3851 #519E38
tetradic
#38519E #9E3884 #9E8538 #389E52
square
#38519E #9E3884 #9E8538 #389E52
split-complementary
#38519E #9E5238 #849E38
monochromatic
#182344 #283A71 #38519E #526DC2 #7F93D2
Accessibility & contrast
On white
7.40
#38519E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#38519E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38519E
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38519E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38519E | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295AA1
Deuteranopia (green-blind)
#15519C
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #38519e; /* rgb */ color: rgb(56, 81, 158); /* oklch */ color: oklch(45.7% 0.128 267.6);
Tailwind
colors: {
custom: {
50: '#7981bb',
500: '#38519e',
950: '#000000',
},
}SCSS
$custom: #38519e; $custom-light: #7981bb; $custom-dark: #000000;
JSON
{
"hex": "#38519e",
"rgb": {
"r": 56,
"g": 81,
"b": 158
},
"hsl": {
"h": 225.294,
"s": 47.664,
"l": 41.961
},
"oklch": {
"l": 0.45711,
"c": 0.12836,
"h": 267.6
},
"luminance": 0.09194
}Semantic roles & 50–950 ramp
primary
#38519E
secondary
#BBAA77
accent
#B651D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81