#31375C#31375C
#31375C is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.0% C 0.065 H 275.5°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #31375C |
|---|---|
| RGB | rgb(49, 55, 92) |
| HSL | hsl(232, 30%, 28%) |
| HSV | hsv(232, 47%, 36%) |
| CMYK | cmyk(46.7%, 40.2%, 0%, 63.9%) |
| CIE-LAB | lab(24.19, 8.52, -22.96) |
| CIE-LCH | lch(24.19, 24.49, 290.35°) |
| OKLab | oklab(34.96% 0.0063 -0.0646) |
| OKLCH | oklch(34.96% 0.065 275.5) |
| XYZ | xyz(4.5640, 4.1578, 10.6852) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.47
Marine
#042E60
ΔE00 7.46
Marine Blue
#01386A
ΔE00 8.64
Darkslateblue
#483D8B
ΔE00 9.80
Dusk
#4E5481
ΔE00 10.11
Twilight Blue
#0A437A
ΔE00 10.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31375C #5C5631
analogous
#314C5C #31375C #41315C
triadic
#31375C #5C3137 #375C31
tetradic
#31375C #5C314C #5C5631 #315C41
square
#31375C #5C314C #5C5631 #315C41
split-complementary
#31375C #5C4131 #4C5C31
monochromatic
#0B0C14 #1C1F34 #31375C #464F84 #5E69A9
Accessibility & contrast
On white
11.47
#31375C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#31375C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31375C
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31375C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31375C | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3B5D
Deuteranopia (green-blind)
#26385B
Tritanopia (blue-blind)
#233F45
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #31375c; /* rgb */ color: rgb(49, 55, 92); /* oklch */ color: oklch(35.0% 0.065 275.5);
Tailwind
colors: {
custom: {
50: '#6b6d8a',
500: '#31375c',
950: '#000000',
},
}SCSS
$custom: #31375c; $custom-light: #6b6d8a; $custom-dark: #000000;
JSON
{
"hex": "#31375c",
"rgb": {
"r": 49,
"g": 55,
"b": 92
},
"hsl": {
"h": 231.628,
"s": 30.496,
"l": 27.647
},
"oklch": {
"l": 0.34959,
"c": 0.06492,
"h": 275.5
},
"luminance": 0.04158
}Semantic roles & 50–950 ramp
primary
#31375C
secondary
#8D865C
accent
#B961C7
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07070C
muted
#7A7A7D