#131B7F#131B7F
#131B7F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.163 H 268.8°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #131B7F |
|---|---|
| RGB | rgb(19, 27, 127) |
| HSL | hsl(236, 74%, 29%) |
| HSV | hsv(236, 85%, 50%) |
| CMYK | cmyk(85%, 78.7%, 0%, 50.2%) |
| CIE-LAB | lab(17.71, 35.45, -56.16) |
| CIE-LCH | lch(17.71, 66.41, 302.26°) |
| OKLab | oklab(30.55% -0.0033 -0.1627) |
| OKLCH | oklch(30.55% 0.163 268.8) |
| XYZ | xyz(4.4899, 2.4541, 20.3116) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.42
Royal
#0C1793
ΔE00 3.13
Dark Royal Blue
#02066F
ΔE00 4.78
Navy
#000080
ΔE00 5.00
Darkblue
#00008B
ΔE00 5.04
Deep Blue
#040273
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#131B7F #7F7713
analogous
#13517F #131B7F #41137F
triadic
#131B7F #7F131B #1B7F13
tetradic
#131B7F #7F1351 #7F7713 #137F41
square
#131B7F #7F1351 #7F7713 #137F41
split-complementary
#131B7F #7F4113 #517F13
monochromatic
#04061B #0B104A #131B7F #1B26B4 #2D3AE0
Accessibility & contrast
On white
14.08
#131B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#131B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #131B7F
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##131B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##131B7F | 1.00 | 14.08 | 1.49 | 14.08 |
| #FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #131b7f; /* rgb */ color: rgb(19, 27, 127); /* oklch */ color: oklch(30.6% 0.163 268.8);
Tailwind
colors: {
custom: {
50: '#6859a5',
500: '#131b7f',
950: '#000000',
},
}SCSS
$custom: #131b7f; $custom-light: #6859a5; $custom-dark: #000000;
JSON
{
"hex": "#131b7f",
"rgb": {
"r": 19,
"g": 27,
"b": 127
},
"hsl": {
"h": 235.556,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.30552,
"c": 0.16275,
"h": 268.8
},
"luminance": 0.02455
}Semantic roles & 50–950 ramp
primary
#131B7F
secondary
#B4AB39
accent
#E337F1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F