#1F2B93#1F2B93
#1F2B93 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.168 H 269.8°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B93 |
|---|---|
| RGB | rgb(31, 43, 147) |
| HSL | hsl(234, 65%, 35%) |
| HSV | hsv(234, 79%, 58%) |
| CMYK | cmyk(78.9%, 70.7%, 0%, 42.4%) |
| CIE-LAB | lab(24.08, 33.72, -58.14) |
| CIE-LCH | lch(24.08, 67.21, 300.11°) |
| OKLab | oklab(35.93% -0.0005 -0.1683) |
| OKLCH | oklch(35.93% 0.168 269.8) |
| XYZ | xyz(6.6936, 4.1249, 28.0415) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.70
Royal
#0C1793
ΔE00 4.84
Midnight Blue
#191970
ΔE00 6.59
Indigo Blue
#3A18B1
ΔE00 6.88
Cobalt Blue
#030AA7
ΔE00 6.92
Blueberry
#464196
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B93 #93871F
analogous
#1F6593 #1F2B93 #4D1F93
triadic
#1F2B93 #931F2B #2B931F
tetradic
#1F2B93 #931F65 #93871F #1F934D
square
#1F2B93 #931F65 #93871F #1F934D
split-complementary
#1F2B93 #934D1F #65931F
monochromatic
#0A0D2E #141C60 #1F2B93 #2A3AC6 #5260DA
Accessibility & contrast
On white
11.51
#1F2B93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1F2B93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B93
11.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B93 | 1.00 | 11.51 | 1.83 | 11.51 |
| #FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f2b93; /* rgb */ color: rgb(31, 43, 147); /* oklch */ color: oklch(35.9% 0.168 269.8);
Tailwind
colors: {
custom: {
50: '#6f65b4',
500: '#1f2b93',
950: '#000000',
},
}SCSS
$custom: #1f2b93; $custom-light: #6f65b4; $custom-dark: #000000;
JSON
{
"hex": "#1f2b93",
"rgb": {
"r": 31,
"g": 43,
"b": 147
},
"hsl": {
"h": 233.793,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.35927,
"c": 0.16834,
"h": 269.8
},
"luminance": 0.04126
}Semantic roles & 50–950 ramp
primary
#1F2B93
secondary
#BEB250
accent
#D740E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80