#31549F#31549F
#31549F is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.1% C 0.128 H 263.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #31549F |
|---|---|
| RGB | rgb(49, 84, 159) |
| HSL | hsl(221, 53%, 41%) |
| HSV | hsv(221, 69%, 62%) |
| CMYK | cmyk(69.2%, 47.2%, 0%, 37.6%) |
| CIE-LAB | lab(36.92, 13.26, -44.53) |
| CIE-LCH | lch(36.92, 46.46, 286.58°) |
| OKLab | oklab(46.07% -0.0147 -0.1275) |
| OKLCH | oklch(46.07% 0.128 263.4) |
| XYZ | xyz(10.6927, 9.4958, 34.0635) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.06
Dusk Blue
#26538D
ΔE00 3.31
Sapphire
#0F52BA
ΔE00 3.70
Cobalt (survey)
#1E488F
ΔE00 4.38
Light Navy Blue
#2E5A88
ΔE00 4.64
Dusky Blue
#475F94
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31549F #9F7C31
analogous
#318B9F #31549F #45319F
triadic
#31549F #9F3154 #549F31
tetradic
#31549F #9F318B #9F7C31 #319F45
square
#31549F #9F318B #9F7C31 #319F45
split-complementary
#31549F #9F4531 #8B9F31
monochromatic
#142341 #233B70 #31549F #476FC6 #7694D5
Accessibility & contrast
On white
7.24
#31549F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#31549F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31549F
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31549F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31549F | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E5CA2
Deuteranopia (green-blind)
#17529D
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #31549f; /* rgb */ color: rgb(49, 84, 159); /* oklch */ color: oklch(46.1% 0.128 263.4);
Tailwind
colors: {
custom: {
50: '#7683bc',
500: '#31549f',
950: '#000000',
},
}SCSS
$custom: #31549f; $custom-light: #7683bc; $custom-dark: #000000;
JSON
{
"hex": "#31549f",
"rgb": {
"r": 49,
"g": 84,
"b": 159
},
"hsl": {
"h": 220.909,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.46071,
"c": 0.12833,
"h": 263.4
},
"luminance": 0.09497
}Semantic roles & 50–950 ramp
primary
#31549F
secondary
#BDA46F
accent
#AE4CDC
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A12
muted
#7B7C81