#131E7F#131E7F
#131E7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.160 H 268.4°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #131E7F |
|---|---|
| RGB | rgb(19, 30, 127) |
| HSL | hsl(234, 74%, 29%) |
| HSV | hsv(234, 85%, 50%) |
| CMYK | cmyk(85%, 76.4%, 0%, 50.2%) |
| CIE-LAB | lab(18.36, 33.61, -55.08) |
| CIE-LCH | lch(18.36, 64.53, 301.39°) |
| OKLab | oklab(31.01% -0.0043 -0.1596) |
| OKLCH | oklch(31.01% 0.16 268.4) |
| XYZ | xyz(4.5623, 2.5988, 20.3357) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.60
Royal
#0C1793
ΔE00 3.53
Dark Royal Blue
#02066F
ΔE00 5.48
Darkblue
#00008B
ΔE00 5.80
Navy
#000080
ΔE00 5.80
Deep Blue
#040273
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#131E7F #7F7413
analogous
#13547F #131E7F #3E137F
triadic
#131E7F #7F131E #1E7F13
tetradic
#131E7F #7F1354 #7F7413 #137F3E
square
#131E7F #7F1354 #7F7413 #137F3E
split-complementary
#131E7F #7F3E13 #547F13
monochromatic
#04061B #0B114A #131E7F #1B2BB4 #2D3FE0
Accessibility & contrast
On white
13.82
#131E7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#131E7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #131E7F
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##131E7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##131E7F | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #131e7f; /* rgb */ color: rgb(19, 30, 127); /* oklch */ color: oklch(31.0% 0.160 268.4);
Tailwind
colors: {
custom: {
50: '#685ba5',
500: '#131e7f',
950: '#000000',
},
}SCSS
$custom: #131e7f; $custom-light: #685ba5; $custom-dark: #000000;
JSON
{
"hex": "#131e7f",
"rgb": {
"r": 19,
"g": 30,
"b": 127
},
"hsl": {
"h": 233.889,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.31014,
"c": 0.15969,
"h": 268.4
},
"luminance": 0.02599
}Semantic roles & 50–950 ramp
primary
#131E7F
secondary
#B4A839
accent
#DE37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F