#1B197F#1B197F
#1B197F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.162 H 272.2°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1B197F |
|---|---|
| RGB | rgb(27, 25, 127) |
| HSL | hsl(241, 67%, 30%) |
| HSV | hsv(241, 80%, 50%) |
| CMYK | cmyk(78.7%, 80.3%, 0%, 50.2%) |
| CIE-LAB | lab(17.74, 37.18, -56.10) |
| CIE-LCH | lch(17.74, 67.30, 303.53°) |
| OKLab | oklab(30.69% 0.0063 -0.1624) |
| OKLCH | oklch(30.69% 0.162 272.2) |
| XYZ | xyz(4.6291, 2.4601, 20.3054) |
| Luminance | 0.0246 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.45
Royal
#0C1793
ΔE00 3.00
Dark Royal Blue
#02066F
ΔE00 4.45
Navy
#000080
ΔE00 4.52
Darkblue
#00008B
ΔE00 4.56
Deep Blue
#040273
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B197F #7D7F19
analogous
#194A7F #1B197F #4E197F
triadic
#1B197F #7F1B19 #197F1B
tetradic
#1B197F #7F194A #7D7F19 #197F4E
square
#1B197F #7F194A #7D7F19 #197F4E
split-complementary
#1B197F #7F4E19 #4A7F19
monochromatic
#05051A #100F4C #1B197F #2623B2 #3D3AD8
Accessibility & contrast
On white
14.07
#1B197F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1B197F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B197F
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B197F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B197F | 1.00 | 14.07 | 1.49 | 14.07 |
| #FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1b197f; /* rgb */ color: rgb(27, 25, 127); /* oklch */ color: oklch(30.7% 0.162 272.2);
Tailwind
colors: {
custom: {
50: '#6b58a5',
500: '#1b197f',
950: '#000000',
},
}SCSS
$custom: #1b197f; $custom-light: #6b58a5; $custom-dark: #000000;
JSON
{
"hex": "#1b197f",
"rgb": {
"r": 27,
"g": 25,
"b": 127
},
"hsl": {
"h": 241.176,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.30689,
"c": 0.16249,
"h": 272.2
},
"luminance": 0.02461
}Semantic roles & 50–950 ramp
primary
#1B197F
secondary
#B1B341
accent
#EA3EE7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F