#1F2C94#1F2C94
#1F2C94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.2% C 0.169 H 269.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C94 |
|---|---|
| RGB | rgb(31, 44, 148) |
| HSL | hsl(233, 65%, 35%) |
| HSV | hsv(233, 79%, 58%) |
| CMYK | cmyk(79.1%, 70.3%, 0%, 42%) |
| CIE-LAB | lab(24.42, 33.45, -58.20) |
| CIE-LCH | lch(24.42, 67.13, 299.88°) |
| OKLab | oklab(36.2% -0.0011 -0.1685) |
| OKLCH | oklch(36.2% 0.169 269.6) |
| XYZ | xyz(6.8092, 4.2300, 28.4688) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.42
Royal
#0C1793
ΔE00 5.10
Midnight Blue
#191970
ΔE00 6.86
Indigo Blue
#3A18B1
ΔE00 6.96
Cobalt Blue
#030AA7
ΔE00 7.11
Blueberry
#464196
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C94 #94871F
analogous
#1F6794 #1F2C94 #4C1F94
triadic
#1F2C94 #941F2C #2C941F
tetradic
#1F2C94 #941F67 #94871F #1F944C
square
#1F2C94 #941F67 #94871F #1F944C
split-complementary
#1F2C94 #944C1F #67941F
monochromatic
#0A0E2F #141D61 #1F2C94 #2A3BC7 #5362DB
Accessibility & contrast
On white
11.37
#1F2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1F2C94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C94
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C94 | 1.00 | 11.37 | 1.85 | 11.37 |
| #FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2c94; /* rgb */ color: rgb(31, 44, 148); /* oklch */ color: oklch(36.2% 0.169 269.6);
Tailwind
colors: {
custom: {
50: '#7065b4',
500: '#1f2c94',
950: '#000000',
},
}SCSS
$custom: #1f2c94; $custom-light: #7065b4; $custom-dark: #000000;
JSON
{
"hex": "#1f2c94",
"rgb": {
"r": 31,
"g": 44,
"b": 148
},
"hsl": {
"h": 233.333,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.36202,
"c": 0.16852,
"h": 269.6
},
"luminance": 0.04231
}Semantic roles & 50–950 ramp
primary
#1F2C94
secondary
#BEB251
accent
#D63FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80