#1F2D94#1F2D94
#1F2D94 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.167 H 269.4°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D94 |
|---|---|
| RGB | rgb(31, 45, 148) |
| HSL | hsl(233, 65%, 35%) |
| HSV | hsv(233, 79%, 58%) |
| CMYK | cmyk(79.1%, 69.6%, 0%, 42%) |
| CIE-LAB | lab(24.66, 32.80, -57.81) |
| CIE-LCH | lch(24.66, 66.47, 299.57°) |
| OKLab | oklab(36.38% -0.0016 -0.1674) |
| OKLCH | oklch(36.38% 0.167 269.4) |
| XYZ | xyz(6.8469, 4.3054, 28.4814) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.23
Royal
#0C1793
ΔE00 5.39
Blueberry
#464196
ΔE00 6.96
Midnight Blue
#191970
ΔE00 7.05
Darkslateblue
#483D8B
ΔE00 7.17
Indigo Blue
#3A18B1
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D94 #94861F
analogous
#1F6794 #1F2D94 #4C1F94
triadic
#1F2D94 #941F2D #2D941F
tetradic
#1F2D94 #941F67 #94861F #1F944C
square
#1F2D94 #941F67 #94861F #1F944C
split-complementary
#1F2D94 #944C1F #67941F
monochromatic
#0A0E2F #141E61 #1F2D94 #2A3CC7 #5363DB
Accessibility & contrast
On white
11.28
#1F2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1F2D94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D94
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D94 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2d94; /* rgb */ color: rgb(31, 45, 148); /* oklch */ color: oklch(36.4% 0.167 269.4);
Tailwind
colors: {
custom: {
50: '#6f66b4',
500: '#1f2d94',
950: '#000000',
},
}SCSS
$custom: #1f2d94; $custom-light: #6f66b4; $custom-dark: #000000;
JSON
{
"hex": "#1f2d94",
"rgb": {
"r": 31,
"g": 45,
"b": 148
},
"hsl": {
"h": 232.821,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.36375,
"c": 0.16738,
"h": 269.4
},
"luminance": 0.04306
}Semantic roles & 50–950 ramp
primary
#1F2D94
secondary
#BEB151
accent
#D43FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80