#31599C#31599C
#31599C is a mid, moderate blue. Relative luminance 0.102; OKLCH L 47.0% C 0.118 H 260.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #31599C |
|---|---|
| RGB | rgb(49, 89, 156) |
| HSL | hsl(218, 52%, 40%) |
| HSV | hsv(218, 69%, 61%) |
| CMYK | cmyk(68.6%, 42.9%, 0%, 38.8%) |
| CIE-LAB | lab(38.19, 8.86, -40.69) |
| CIE-LCH | lch(38.19, 41.65, 282.29°) |
| OKLab | oklab(46.99% -0.0203 -0.1161) |
| OKLCH | oklch(46.99% 0.118 260.1) |
| XYZ | xyz(10.8376, 10.1969, 32.8431) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.86
Dusk Blue
#26538D
ΔE00 2.93
Light Navy Blue
#2E5A88
ΔE00 3.30
Dusky Blue
#475F94
ΔE00 3.93
Sapphire
#0F52BA
ΔE00 4.40
Denim (survey)
#3B638C
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31599C #9C7431
analogous
#318E9C #31599C #3E319C
triadic
#31599C #9C3159 #599C31
tetradic
#31599C #9C318E #9C7431 #319C3E
square
#31599C #9C318E #9C7431 #319C3E
split-complementary
#31599C #9C3E31 #8E9C31
monochromatic
#14243F #223E6D #31599C #4575C5 #7498D3
Accessibility & contrast
On white
6.91
#31599C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#31599C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31599C
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31599C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31599C | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5F9F
Deuteranopia (green-blind)
#28559B
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #31599c; /* rgb */ color: rgb(49, 89, 156); /* oklch */ color: oklch(47.0% 0.118 260.1);
Tailwind
colors: {
custom: {
50: '#7587b9',
500: '#31599c',
950: '#000000',
},
}SCSS
$custom: #31599c; $custom-light: #7587b9; $custom-dark: #000000;
JSON
{
"hex": "#31599c",
"rgb": {
"r": 49,
"g": 89,
"b": 156
},
"hsl": {
"h": 217.57,
"s": 52.195,
"l": 40.196
},
"oklch": {
"l": 0.4699,
"c": 0.11789,
"h": 260.1
},
"luminance": 0.10198
}Semantic roles & 50–950 ramp
primary
#31599C
secondary
#BB9E6D
accent
#A64CDC
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80