#1F2B94#1F2B94
#1F2B94 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.0% C 0.170 H 269.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B94 |
|---|---|
| RGB | rgb(31, 43, 148) |
| HSL | hsl(234, 65%, 35%) |
| HSV | hsv(234, 79%, 58%) |
| CMYK | cmyk(79.1%, 70.9%, 0%, 42%) |
| CIE-LAB | lab(24.18, 34.09, -58.59) |
| CIE-LCH | lch(24.18, 67.79, 300.19°) |
| OKLab | oklab(36.03% -0.0006 -0.1696) |
| OKLCH | oklch(36.03% 0.17 269.8) |
| XYZ | xyz(6.7724, 4.1564, 28.4566) |
| Luminance | 0.0416 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.61
Royal
#0C1793
ΔE00 4.82
Midnight Blue
#191970
ΔE00 6.69
Indigo Blue
#3A18B1
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 6.84
Blueberry
#464196
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B94 #94881F
analogous
#1F6694 #1F2B94 #4D1F94
triadic
#1F2B94 #941F2B #2B941F
tetradic
#1F2B94 #941F66 #94881F #1F944D
square
#1F2B94 #941F66 #94881F #1F944D
split-complementary
#1F2B94 #944D1F #66941F
monochromatic
#0A0E2F #141C61 #1F2B94 #2A3AC7 #5361DB
Accessibility & contrast
On white
11.47
#1F2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#1F2B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B94
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B94 | 1.00 | 11.47 | 1.83 | 11.47 |
| #FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f2b94; /* rgb */ color: rgb(31, 43, 148); /* oklch */ color: oklch(36.0% 0.170 269.8);
Tailwind
colors: {
custom: {
50: '#7065b4',
500: '#1f2b94',
950: '#000000',
},
}SCSS
$custom: #1f2b94; $custom-light: #7065b4; $custom-dark: #000000;
JSON
{
"hex": "#1f2b94",
"rgb": {
"r": 31,
"g": 43,
"b": 148
},
"hsl": {
"h": 233.846,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.36031,
"c": 0.16965,
"h": 269.8
},
"luminance": 0.04157
}Semantic roles & 50–950 ramp
primary
#1F2B94
secondary
#BEB351
accent
#D73FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80