#31369B#31369B
#31369B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.161 H 274.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #31369B |
|---|---|
| RGB | rgb(49, 54, 155) |
| HSL | hsl(237, 52%, 40%) |
| HSV | hsv(237, 68%, 61%) |
| CMYK | cmyk(68.4%, 65.2%, 0%, 39.2%) |
| CIE-LAB | lab(28.53, 31.66, -55.71) |
| CIE-LCH | lch(28.53, 64.07, 299.61°) |
| OKLab | oklab(39.68% 0.0117 -0.1607) |
| OKLCH | oklch(39.68% 0.161 274.2) |
| XYZ | xyz(8.5002, 5.6571, 31.6480) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.71
Blueberry
#464196
ΔE00 4.30
Darkslateblue
#483D8B
ΔE00 5.16
Ocean Blue
#4F42B5
ΔE00 6.18
Blue Blue
#2242C7
ΔE00 6.78
Cobalt
#0047AB
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31369B #9B9631
analogous
#316B9B #31369B #61319B
triadic
#31369B #9B3136 #369B31
tetradic
#31369B #9B316B #9B9631 #319B61
square
#31369B #9B316B #9B9631 #319B61
split-complementary
#31369B #9B6131 #6B9B31
monochromatic
#14163E #22266D #31369B #454BC4 #7378D3
Accessibility & contrast
On white
9.85
#31369B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#31369B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31369B
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31369B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31369B | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #31369b; /* rgb */ color: rgb(49, 54, 155); /* oklch */ color: oklch(39.7% 0.161 274.2);
Tailwind
colors: {
custom: {
50: '#776db9',
500: '#31369b',
950: '#000000',
},
}SCSS
$custom: #31369b; $custom-light: #776db9; $custom-dark: #000000;
JSON
{
"hex": "#31369b",
"rgb": {
"r": 49,
"g": 54,
"b": 155
},
"hsl": {
"h": 237.17,
"s": 51.961,
"l": 40
},
"oklch": {
"l": 0.39676,
"c": 0.16116,
"h": 274.2
},
"luminance": 0.05658
}Semantic roles & 50–950 ramp
primary
#31369B
secondary
#BBB76D
accent
#D54CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81