#31599F#31599F
#31599F is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.122 H 260.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #31599F |
|---|---|
| RGB | rgb(49, 89, 159) |
| HSL | hsl(218, 53%, 41%) |
| HSV | hsv(218, 69%, 62%) |
| CMYK | cmyk(69.2%, 44%, 0%, 37.6%) |
| CIE-LAB | lab(38.38, 9.98, -42.20) |
| CIE-LCH | lch(38.38, 43.36, 283.31°) |
| OKLab | oklab(47.19% -0.0196 -0.1206) |
| OKLCH | oklch(47.19% 0.122 260.7) |
| XYZ | xyz(11.0948, 10.2998, 34.1975) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.10
Dusk Blue
#26538D
ΔE00 3.23
Light Navy Blue
#2E5A88
ΔE00 3.63
Dusky Blue
#475F94
ΔE00 3.99
Sapphire
#0F52BA
ΔE00 4.13
Denim
#1560BD
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31599F #9F7731
analogous
#31909F #31599F #40319F
triadic
#31599F #9F3159 #599F31
tetradic
#31599F #9F3190 #9F7731 #319F40
square
#31599F #9F3190 #9F7731 #319F40
split-complementary
#31599F #9F4031 #909F31
monochromatic
#142541 #233F70 #31599F #4775C6 #7698D5
Accessibility & contrast
On white
6.86
#31599F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#31599F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31599F
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31599F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31599F | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3760A2
Deuteranopia (green-blind)
#25569E
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #31599f; /* rgb */ color: rgb(49, 89, 159); /* oklch */ color: oklch(47.2% 0.122 260.7);
Tailwind
colors: {
custom: {
50: '#7687bc',
500: '#31599f',
950: '#000000',
},
}SCSS
$custom: #31599f; $custom-light: #7687bc; $custom-dark: #000000;
JSON
{
"hex": "#31599f",
"rgb": {
"r": 49,
"g": 89,
"b": 159
},
"hsl": {
"h": 218.182,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.47189,
"c": 0.12215,
"h": 260.7
},
"luminance": 0.10301
}Semantic roles & 50–950 ramp
primary
#31599F
secondary
#BDA16F
accent
#A84CDC
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81