#1F197A#1F197A
#1F197A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.155 H 274.7°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F197A |
|---|---|
| RGB | rgb(31, 25, 122) |
| HSL | hsl(244, 66%, 29%) |
| HSV | hsv(244, 80%, 48%) |
| CMYK | cmyk(74.6%, 79.5%, 0%, 52.2%) |
| CIE-LAB | lab(17.42, 35.81, -53.43) |
| CIE-LCH | lch(17.42, 64.32, 303.83°) |
| OKLab | oklab(30.37% 0.0127 -0.1545) |
| OKLCH | oklch(30.37% 0.155 274.7) |
| XYZ | xyz(4.4244, 2.3913, 18.6370) |
| Luminance | 0.0239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.80
Royal
#0C1793
ΔE00 3.84
Dark Royal Blue
#02066F
ΔE00 4.30
Deep Blue
#040273
ΔE00 4.66
Navy
#000080
ΔE00 4.78
Darkblue
#00008B
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F197A #747A19
analogous
#19447A #1F197A #50197A
triadic
#1F197A #7A1F19 #197A1F
tetradic
#1F197A #7A1944 #747A19 #197A50
square
#1F197A #7A1944 #747A19 #197A50
split-complementary
#1F197A #7A5019 #447A19
monochromatic
#060519 #120F47 #1F197A #2C23AD #4137D6
Accessibility & contrast
On white
14.20
#1F197A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#1F197A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F197A
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F197A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F197A | 1.00 | 14.20 | 1.48 | 14.20 |
| #FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002678
Tritanopia (blue-blind)
#003649
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #1f197a; /* rgb */ color: rgb(31, 25, 122); /* oklch */ color: oklch(30.4% 0.155 274.7);
Tailwind
colors: {
custom: {
50: '#6b58a2',
500: '#1f197a',
950: '#000000',
},
}SCSS
$custom: #1f197a; $custom-light: #6b58a2; $custom-dark: #000000;
JSON
{
"hex": "#1f197a",
"rgb": {
"r": 31,
"g": 25,
"b": 122
},
"hsl": {
"h": 243.711,
"s": 65.986,
"l": 28.824
},
"oklch": {
"l": 0.30365,
"c": 0.15503,
"h": 274.7
},
"luminance": 0.02392
}Semantic roles & 50–950 ramp
primary
#1F197A
secondary
#A8AF40
accent
#E93FDE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F