#1F2F94#1F2F94
#1F2F94 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.165 H 269.1°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F94 |
|---|---|
| RGB | rgb(31, 47, 148) |
| HSL | hsl(232, 65%, 35%) |
| HSV | hsv(232, 79%, 58%) |
| CMYK | cmyk(79.1%, 68.2%, 0%, 42%) |
| CIE-LAB | lab(25.14, 31.49, -57.01) |
| CIE-LCH | lch(25.14, 65.13, 298.92°) |
| OKLab | oklab(36.73% -0.0027 -0.165) |
| OKLCH | oklch(36.73% 0.165 269.1) |
| XYZ | xyz(6.9250, 4.4617, 28.5074) |
| Luminance | 0.0446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.90
Royal
#0C1793
ΔE00 5.99
Blueberry
#464196
ΔE00 6.62
Darkslateblue
#483D8B
ΔE00 6.93
Midnight Blue
#191970
ΔE00 7.45
Indigo Blue
#3A18B1
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F94 #94841F
analogous
#1F6994 #1F2F94 #4A1F94
triadic
#1F2F94 #941F2F #2F941F
tetradic
#1F2F94 #941F69 #94841F #1F944A
square
#1F2F94 #941F69 #94841F #1F944A
split-complementary
#1F2F94 #944A1F #69941F
monochromatic
#0A0F2F #141F61 #1F2F94 #2A3FC7 #5365DB
Accessibility & contrast
On white
11.10
#1F2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#1F2F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F94
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F94 | 1.00 | 11.10 | 1.89 | 11.10 |
| #FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004197
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f2f94; /* rgb */ color: rgb(31, 47, 148); /* oklch */ color: oklch(36.7% 0.165 269.1);
Tailwind
colors: {
custom: {
50: '#6f67b4',
500: '#1f2f94',
950: '#000000',
},
}SCSS
$custom: #1f2f94; $custom-light: #6f67b4; $custom-dark: #000000;
JSON
{
"hex": "#1f2f94",
"rgb": {
"r": 31,
"g": 47,
"b": 148
},
"hsl": {
"h": 231.795,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.36728,
"c": 0.16505,
"h": 269.1
},
"luminance": 0.04462
}Semantic roles & 50–950 ramp
primary
#1F2F94
secondary
#BEAF51
accent
#D13FE8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80