#313149#313149
#313149 is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.4% C 0.042 H 283.8°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #313149 |
|---|---|
| RGB | rgb(49, 49, 73) |
| HSL | hsl(240, 20%, 24%) |
| HSV | hsv(240, 33%, 29%) |
| CMYK | cmyk(32.9%, 32.9%, 0%, 71.4%) |
| CIE-LAB | lab(21.32, 6.53, -14.83) |
| CIE-LCH | lch(21.32, 16.21, 293.77°) |
| OKLab | oklab(32.42% 0.0101 -0.0411) |
| OKLCH | oklch(32.42% 0.042 283.8) |
| XYZ | xyz(3.5672, 3.3305, 6.7570) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.16
Dark
#1B2431
ΔE00 9.26
Marine
#042E60
ΔE00 11.06
Navy (survey)
#01153E
ΔE00 11.44
Marine Blue
#01386A
ΔE00 12.59
Onyx
#353839
ΔE00 12.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313149 #494931
analogous
#313D49 #313149 #3D3149
triadic
#313149 #493131 #314931
tetradic
#313149 #49313D #494931 #31493D
square
#313149 #49313D #494931 #31493D
split-complementary
#313149 #493D31 #3D4931
monochromatic
#0C0C12 #181824 #313149 #4A4A6E #626292
Accessibility & contrast
On white
12.60
#313149 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#313149 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313149
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313149 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313149 | 1.00 | 12.60 | 1.67 | 12.60 |
| #FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A344A
Deuteranopia (green-blind)
#293248
Tritanopia (blue-blind)
#2B353A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #313149; /* rgb */ color: rgb(49, 49, 73); /* oklch */ color: oklch(32.4% 0.042 283.8);
Tailwind
colors: {
custom: {
50: '#6a697b',
500: '#313149',
950: '#000000',
},
}SCSS
$custom: #313149; $custom-light: #6a697b; $custom-dark: #000000;
JSON
{
"hex": "#313149",
"rgb": {
"r": 49,
"g": 49,
"b": 73
},
"hsl": {
"h": 240,
"s": 19.672,
"l": 23.922
},
"oklch": {
"l": 0.3242,
"c": 0.04236,
"h": 283.8
},
"luminance": 0.03331
}Semantic roles & 50–950 ramp
primary
#313149
secondary
#7A7A5C
accent
#BC6CBC
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#060609
muted
#7A7A7B