#38519F#38519F
#38519F is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.130 H 267.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #38519F |
|---|---|
| RGB | rgb(56, 81, 159) |
| HSL | hsl(225, 48%, 42%) |
| HSV | hsv(225, 65%, 62%) |
| CMYK | cmyk(64.8%, 49.1%, 0%, 37.6%) |
| CIE-LAB | lab(36.42, 16.45, -45.31) |
| CIE-LCH | lch(36.42, 48.21, 289.95°) |
| OKLab | oklab(45.78% -0.0052 -0.1297) |
| OKLCH | oklch(45.78% 0.13 267.7) |
| XYZ | xyz(10.8292, 9.2278, 34.0046) |
| Luminance | 0.0923 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 4.22
Cobalt (survey)
#1E488F
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 4.51
Cobalt
#0047AB
ΔE00 4.70
Dusk Blue
#26538D
ΔE00 4.73
Dusky Blue
#475F94
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38519F #9F8638
analogous
#38859F #38519F #53389F
triadic
#38519F #9F3851 #519F38
tetradic
#38519F #9F3885 #9F8638 #389F53
square
#38519F #9F3885 #9F8638 #389F53
split-complementary
#38519F #9F5338 #859F38
monochromatic
#182344 #283A72 #38519F #526DC2 #7F93D2
Accessibility & contrast
On white
7.38
#38519F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#38519F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38519F
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38519F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38519F | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285BA2
Deuteranopia (green-blind)
#13519D
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #38519f; /* rgb */ color: rgb(56, 81, 159); /* oklch */ color: oklch(45.8% 0.130 267.7);
Tailwind
colors: {
custom: {
50: '#7981bc',
500: '#38519f',
950: '#000000',
},
}SCSS
$custom: #38519f; $custom-light: #7981bc; $custom-dark: #000000;
JSON
{
"hex": "#38519f",
"rgb": {
"r": 56,
"g": 81,
"b": 159
},
"hsl": {
"h": 225.437,
"s": 47.907,
"l": 42.157
},
"oklch": {
"l": 0.45782,
"c": 0.12982,
"h": 267.7
},
"luminance": 0.09229
}Semantic roles & 50–950 ramp
primary
#38519F
secondary
#BBAB77
accent
#B750D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81