#38509F#38509F
#38509F is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.131 H 268.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #38509F |
|---|---|
| RGB | rgb(56, 80, 159) |
| HSL | hsl(226, 48%, 42%) |
| HSV | hsv(226, 65%, 62%) |
| CMYK | cmyk(64.8%, 49.7%, 0%, 37.6%) |
| CIE-LAB | lab(36.14, 17.11, -45.77) |
| CIE-LCH | lch(36.14, 48.86, 290.50°) |
| OKLab | oklab(45.57% -0.0042 -0.131) |
| OKLCH | oklch(45.57% 0.131 268.2) |
| XYZ | xyz(10.7554, 9.0803, 33.9800) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.39
Denim Blue
#3B5B92
ΔE00 4.56
Cobalt
#0047AB
ΔE00 4.57
Sapphire
#0F52BA
ΔE00 4.63
Dusk Blue
#26538D
ΔE00 4.94
Dusky Blue
#475F94
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#38509F #9F8738
analogous
#38849F #38509F #53389F
triadic
#38509F #9F3850 #509F38
tetradic
#38509F #9F3884 #9F8738 #389F53
square
#38509F #9F3884 #9F8738 #389F53
split-complementary
#38509F #9F5338 #849F38
monochromatic
#182244 #283972 #38509F #526CC2 #7F93D2
Accessibility & contrast
On white
7.46
#38509F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#38509F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #38509F
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##38509F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##38509F | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265AA2
Deuteranopia (green-blind)
#0E519D
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #38509f; /* rgb */ color: rgb(56, 80, 159); /* oklch */ color: oklch(45.6% 0.131 268.2);
Tailwind
colors: {
custom: {
50: '#7980bc',
500: '#38509f',
950: '#000000',
},
}SCSS
$custom: #38509f; $custom-light: #7980bc; $custom-dark: #000000;
JSON
{
"hex": "#38509f",
"rgb": {
"r": 56,
"g": 80,
"b": 159
},
"hsl": {
"h": 226.019,
"s": 47.907,
"l": 42.157
},
"oklch": {
"l": 0.45569,
"c": 0.13112,
"h": 268.2
},
"luminance": 0.09081
}Semantic roles & 50–950 ramp
primary
#38509F
secondary
#BBAC77
accent
#B850D7
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81