#131D7F#131D7F
#131D7F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.161 H 268.6°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #131D7F |
|---|---|
| RGB | rgb(19, 29, 127) |
| HSL | hsl(234, 74%, 29%) |
| HSV | hsv(234, 85%, 50%) |
| CMYK | cmyk(85%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(18.14, 34.23, -55.45) |
| CIE-LCH | lch(18.14, 65.16, 301.69°) |
| OKLab | oklab(30.86% -0.004 -0.1607) |
| OKLCH | oklch(30.86% 0.161 268.6) |
| XYZ | xyz(4.5374, 2.5489, 20.3274) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.51
Royal
#0C1793
ΔE00 3.38
Dark Royal Blue
#02066F
ΔE00 5.24
Navy
#000080
ΔE00 5.53
Darkblue
#00008B
ΔE00 5.54
Deep Blue
#040273
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#131D7F #7F7513
analogous
#13537F #131D7F #3F137F
triadic
#131D7F #7F131D #1D7F13
tetradic
#131D7F #7F1353 #7F7513 #137F3F
square
#131D7F #7F1353 #7F7513 #137F3F
split-complementary
#131D7F #7F3F13 #537F13
monochromatic
#04061B #0B114A #131D7F #1B29B4 #2D3DE0
Accessibility & contrast
On white
13.91
#131D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#131D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #131D7F
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##131D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##131D7F | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #131d7f; /* rgb */ color: rgb(19, 29, 127); /* oklch */ color: oklch(30.9% 0.161 268.6);
Tailwind
colors: {
custom: {
50: '#685aa5',
500: '#131d7f',
950: '#000000',
},
}SCSS
$custom: #131d7f; $custom-light: #685aa5; $custom-dark: #000000;
JSON
{
"hex": "#131d7f",
"rgb": {
"r": 19,
"g": 29,
"b": 127
},
"hsl": {
"h": 234.444,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.30856,
"c": 0.16073,
"h": 268.6
},
"luminance": 0.02549
}Semantic roles & 50–950 ramp
primary
#131D7F
secondary
#B4A939
accent
#DF37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F