#1F155C#1F155C
#1F155C is a dark, moderate blue. Relative luminance 0.016; OKLCH L 26.4% C 0.119 H 280.8°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).
Color values
| HEX | #1F155C |
|---|---|
| RGB | rgb(31, 21, 92) |
| HSL | hsl(248, 63%, 22%) |
| HSV | hsv(248, 77%, 36%) |
| CMYK | cmyk(66.3%, 77.2%, 0%, 63.9%) |
| CIE-LAB | lab(13.23, 27.77, -40.69) |
| CIE-LCH | lch(13.23, 49.26, 304.31°) |
| OKLab | oklab(26.4% 0.0224 -0.1173) |
| OKLCH | oklch(26.4% 0.119 280.8) |
| XYZ | xyz(2.7644, 1.6001, 10.2863) |
| Luminance | 0.0160 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Indigo
#1F0954
ΔE00 3.02
Midnight Blue
#191970
ΔE00 3.71
Darkblue (survey)
#030764
ΔE00 4.47
Dark Blue
#00035B
ΔE00 4.90
Night Blue
#040348
ΔE00 5.09
Dark Royal Blue
#02066F
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F155C #525C15
analogous
#152E5C #1F155C #43155C
triadic
#1F155C #5C1F15 #155C1F
tetradic
#1F155C #5C152E #525C15 #155C43
square
#1F155C #5C152E #525C15 #155C43
split-complementary
#1F155C #5C4315 #2E5C15
monochromatic
#080619 #0E0A2A #1F155C #30208E #412CC0
Accessibility & contrast
On white
15.91
#1F155C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.32
#1F155C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F155C
15.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F155C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F155C | 1.00 | 15.91 | 1.32 | 15.91 |
| #FFFFFF | 15.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#002937
Achromatopsia (no color)
#222222
Design tokens & code
CSS
--color: #1f155c; /* rgb */ color: rgb(31, 21, 92); /* oklch */ color: oklch(26.4% 0.119 280.8);
Tailwind
colors: {
custom: {
50: '#64538b',
500: '#1f155c',
950: '#000000',
},
}SCSS
$custom: #1f155c; $custom-light: #64538b; $custom-dark: #000000;
JSON
{
"hex": "#1f155c",
"rgb": {
"r": 31,
"g": 21,
"b": 92
},
"hsl": {
"h": 248.451,
"s": 62.832,
"l": 22.157
},
"oklch": {
"l": 0.26404,
"c": 0.11945,
"h": 280.8
},
"luminance": 0.016
}Semantic roles & 50–950 ramp
primary
#1F155C
secondary
#879339
accent
#E642CF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D