#38549F#38549F
#38549F is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.4% C 0.126 H 266.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #38549F |
|---|---|
| RGB | rgb(56, 84, 159) |
| HSL | hsl(224, 48%, 42%) |
| HSV | hsv(224, 65%, 62%) |
| CMYK | cmyk(64.8%, 47.2%, 0%, 37.6%) |
| CIE-LAB | lab(37.27, 14.48, -43.95) |
| CIE-LCH | lch(37.27, 46.27, 288.23°) |
| OKLab | oklab(46.43% -0.0083 -0.1257) |
| OKLCH | oklch(46.43% 0.126 266.2) |
| XYZ | xyz(11.0571, 9.6836, 34.0806) |
| Luminance | 0.0969 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.26
Dusk Blue
#26538D
ΔE00 4.21
Sapphire
#0F52BA
ΔE00 4.30
Dusky Blue
#475F94
ΔE00 4.38
Cobalt (survey)
#1E488F
ΔE00 4.83
Cobalt
#0047AB
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38549F #9F8338
analogous
#38889F #38549F #4F389F
triadic
#38549F #9F3854 #549F38
tetradic
#38549F #9F3888 #9F8338 #389F4F
square
#38549F #9F3888 #9F8338 #389F4F
split-complementary
#38549F #9F4F38 #889F38
monochromatic
#182444 #283C72 #38549F #5271C2 #7F96D2
Accessibility & contrast
On white
7.15
#38549F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#38549F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38549F
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38549F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38549F | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5DA2
Deuteranopia (green-blind)
#1C539D
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #38549f; /* rgb */ color: rgb(56, 84, 159); /* oklch */ color: oklch(46.4% 0.126 266.2);
Tailwind
colors: {
custom: {
50: '#7983bc',
500: '#38549f',
950: '#000000',
},
}SCSS
$custom: #38549f; $custom-light: #7983bc; $custom-dark: #000000;
JSON
{
"hex": "#38549f",
"rgb": {
"r": 56,
"g": 84,
"b": 159
},
"hsl": {
"h": 223.689,
"s": 47.907,
"l": 42.157
},
"oklch": {
"l": 0.46431,
"c": 0.12593,
"h": 266.2
},
"luminance": 0.09685
}Semantic roles & 50–950 ramp
primary
#38549F
secondary
#BBA977
accent
#B350D7
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0A12
muted
#7C7C81