#1F2C97#1F2C97
#1F2C97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.172 H 269.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C97 |
|---|---|
| RGB | rgb(31, 44, 151) |
| HSL | hsl(234, 66%, 36%) |
| HSV | hsv(234, 79%, 59%) |
| CMYK | cmyk(79.5%, 70.9%, 0%, 40.8%) |
| CIE-LAB | lab(24.72, 34.55, -59.55) |
| CIE-LCH | lch(24.72, 68.85, 300.13°) |
| OKLab | oklab(36.51% -0.0014 -0.1724) |
| OKLCH | oklch(36.51% 0.172 269.5) |
| XYZ | xyz(7.0498, 4.3262, 29.7357) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.15
Royal
#0C1793
ΔE00 5.05
Indigo Blue
#3A18B1
ΔE00 6.62
Cobalt Blue
#030AA7
ΔE00 6.88
Blueberry
#464196
ΔE00 7.15
Midnight Blue
#191970
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C97 #978A1F
analogous
#1F6897 #1F2C97 #4E1F97
triadic
#1F2C97 #971F2C #2C971F
tetradic
#1F2C97 #971F68 #978A1F #1F974E
square
#1F2C97 #971F68 #978A1F #1F974E
split-complementary
#1F2C97 #974E1F #68971F
monochromatic
#0A0E31 #151D64 #1F2C97 #293BCA #5463DC
Accessibility & contrast
On white
11.26
#1F2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#1F2C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C97
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C97 | 1.00 | 11.26 | 1.87 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2c97; /* rgb */ color: rgb(31, 44, 151); /* oklch */ color: oklch(36.5% 0.172 269.5);
Tailwind
colors: {
custom: {
50: '#7065b7',
500: '#1f2c97',
950: '#000000',
},
}SCSS
$custom: #1f2c97; $custom-light: #7065b7; $custom-dark: #000000;
JSON
{
"hex": "#1f2c97",
"rgb": {
"r": 31,
"g": 44,
"b": 151
},
"hsl": {
"h": 233.5,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.36514,
"c": 0.17245,
"h": 269.5
},
"luminance": 0.04327
}Semantic roles & 50–950 ramp
primary
#1F2C97
secondary
#BFB452
accent
#D63FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80