#131F7F#131F7F
#131F7F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.2% C 0.159 H 268.3°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).
Color values
| HEX | #131F7F |
|---|---|
| RGB | rgb(19, 31, 127) |
| HSL | hsl(233, 74%, 29%) |
| HSV | hsv(233, 85%, 50%) |
| CMYK | cmyk(85%, 75.6%, 0%, 50.2%) |
| CIE-LAB | lab(18.58, 32.98, -54.71) |
| CIE-LCH | lch(18.58, 63.88, 301.08°) |
| OKLab | oklab(31.18% -0.0047 -0.1585) |
| OKLCH | oklch(31.18% 0.159 268.3) |
| XYZ | xyz(4.5880, 2.6502, 20.3443) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.72
Royal
#0C1793
ΔE00 3.70
Dark Royal Blue
#02066F
ΔE00 5.73
Darkblue
#00008B
ΔE00 6.07
Navy
#000080
ΔE00 6.08
Deep Blue
#040273
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#131F7F #7F7313
analogous
#13557F #131F7F #3D137F
triadic
#131F7F #7F131F #1F7F13
tetradic
#131F7F #7F1355 #7F7313 #137F3D
square
#131F7F #7F1355 #7F7313 #137F3D
split-complementary
#131F7F #7F3D13 #557F13
monochromatic
#04061B #0B124A #131F7F #1B2CB4 #2D41E0
Accessibility & contrast
On white
13.72
#131F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#131F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #131F7F
13.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##131F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##131F7F | 1.00 | 13.72 | 1.53 | 13.72 |
| #FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #131f7f; /* rgb */ color: rgb(19, 31, 127); /* oklch */ color: oklch(31.2% 0.159 268.3);
Tailwind
colors: {
custom: {
50: '#685ba5',
500: '#131f7f',
950: '#000000',
},
}SCSS
$custom: #131f7f; $custom-light: #685ba5; $custom-dark: #000000;
JSON
{
"hex": "#131f7f",
"rgb": {
"r": 19,
"g": 31,
"b": 127
},
"hsl": {
"h": 233.333,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.31175,
"c": 0.15862,
"h": 268.3
},
"luminance": 0.02651
}Semantic roles & 50–950 ramp
primary
#131F7F
secondary
#B4A739
accent
#DC37F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F