#1F2C93#1F2C93
#1F2C93 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.167 H 269.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C93 |
|---|---|
| RGB | rgb(31, 44, 147) |
| HSL | hsl(233, 65%, 35%) |
| HSV | hsv(233, 79%, 58%) |
| CMYK | cmyk(78.9%, 70.1%, 0%, 42.4%) |
| CIE-LAB | lab(24.32, 33.08, -57.75) |
| CIE-LCH | lch(24.32, 66.55, 299.80°) |
| OKLab | oklab(36.1% -0.001 -0.1672) |
| OKLCH | oklch(36.1% 0.167 269.6) |
| XYZ | xyz(6.7304, 4.1985, 28.0538) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.51
Royal
#0C1793
ΔE00 5.13
Midnight Blue
#191970
ΔE00 6.77
Indigo Blue
#3A18B1
ΔE00 7.08
Blueberry
#464196
ΔE00 7.15
Cobalt Blue
#030AA7
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C93 #93861F
analogous
#1F6693 #1F2C93 #4C1F93
triadic
#1F2C93 #931F2C #2C931F
tetradic
#1F2C93 #931F66 #93861F #1F934C
square
#1F2C93 #931F66 #93861F #1F934C
split-complementary
#1F2C93 #934C1F #66931F
monochromatic
#0A0E2E #141D60 #1F2C93 #2A3BC6 #5261DA
Accessibility & contrast
On white
11.41
#1F2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#1F2C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C93
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C93 | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f2c93; /* rgb */ color: rgb(31, 44, 147); /* oklch */ color: oklch(36.1% 0.167 269.6);
Tailwind
colors: {
custom: {
50: '#6f65b4',
500: '#1f2c93',
950: '#000000',
},
}SCSS
$custom: #1f2c93; $custom-light: #6f65b4; $custom-dark: #000000;
JSON
{
"hex": "#1f2c93",
"rgb": {
"r": 31,
"g": 44,
"b": 147
},
"hsl": {
"h": 233.276,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.36098,
"c": 0.1672,
"h": 269.6
},
"luminance": 0.04199
}Semantic roles & 50–950 ramp
primary
#1F2C93
secondary
#BEB150
accent
#D540E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80