#38539F#38539F
#38539F is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.127 H 266.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #38539F |
|---|---|
| RGB | rgb(56, 83, 159) |
| HSL | hsl(224, 48%, 42%) |
| HSV | hsv(224, 65%, 62%) |
| CMYK | cmyk(64.8%, 47.8%, 0%, 37.6%) |
| CIE-LAB | lab(36.98, 15.13, -44.41) |
| CIE-LCH | lch(36.98, 46.91, 288.82°) |
| OKLab | oklab(46.21% -0.0073 -0.127) |
| OKLCH | oklch(46.21% 0.127 266.7) |
| XYZ | xyz(10.9800, 9.5295, 34.0549) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.57
Sapphire
#0F52BA
ΔE00 4.34
Dusk Blue
#26538D
ΔE00 4.36
Dusky Blue
#475F94
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 4.68
Cobalt
#0047AB
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38539F #9F8438
analogous
#38879F #38539F #51389F
triadic
#38539F #9F3853 #539F38
tetradic
#38539F #9F3887 #9F8438 #389F51
square
#38539F #9F3887 #9F8438 #389F51
split-complementary
#38539F #9F5138 #879F38
monochromatic
#182444 #283B72 #38539F #526FC2 #7F95D2
Accessibility & contrast
On white
7.23
#38539F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#38539F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38539F
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38539F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38539F | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D5CA2
Deuteranopia (green-blind)
#19539D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #38539f; /* rgb */ color: rgb(56, 83, 159); /* oklch */ color: oklch(46.2% 0.127 266.7);
Tailwind
colors: {
custom: {
50: '#7982bc',
500: '#38539f',
950: '#000000',
},
}SCSS
$custom: #38539f; $custom-light: #7982bc; $custom-dark: #000000;
JSON
{
"hex": "#38539f",
"rgb": {
"r": 56,
"g": 83,
"b": 159
},
"hsl": {
"h": 224.272,
"s": 47.907,
"l": 42.157
},
"oklch": {
"l": 0.46213,
"c": 0.12722,
"h": 266.7
},
"luminance": 0.0953
}Semantic roles & 50–950 ramp
primary
#38539F
secondary
#BBAA77
accent
#B450D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81