#1F2F93#1F2F93
#1F2F93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.164 H 269.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F93 |
|---|---|
| RGB | rgb(31, 47, 147) |
| HSL | hsl(232, 65%, 35%) |
| HSV | hsv(232, 79%, 58%) |
| CMYK | cmyk(78.9%, 68%, 0%, 42.4%) |
| CIE-LAB | lab(25.05, 31.12, -56.55) |
| CIE-LCH | lch(25.05, 64.55, 298.82°) |
| OKLab | oklab(36.63% -0.0027 -0.1637) |
| OKLCH | oklch(36.63% 0.164 269.1) |
| XYZ | xyz(6.8462, 4.4302, 28.0924) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.01
Royal
#0C1793
ΔE00 6.02
Blueberry
#464196
ΔE00 6.62
Darkslateblue
#483D8B
ΔE00 6.91
Midnight Blue
#191970
ΔE00 7.36
Indigo Blue
#3A18B1
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F93 #93831F
analogous
#1F6993 #1F2F93 #491F93
triadic
#1F2F93 #931F2F #2F931F
tetradic
#1F2F93 #931F69 #93831F #1F9349
square
#1F2F93 #931F69 #93831F #1F9349
split-complementary
#1F2F93 #93491F #69931F
monochromatic
#0A0F2E #141F60 #1F2F93 #2A3FC6 #5265DA
Accessibility & contrast
On white
11.13
#1F2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#1F2F93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F93
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F93 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1f2f93; /* rgb */ color: rgb(31, 47, 147); /* oklch */ color: oklch(36.6% 0.164 269.1);
Tailwind
colors: {
custom: {
50: '#6f67b4',
500: '#1f2f93',
950: '#000000',
},
}SCSS
$custom: #1f2f93; $custom-light: #6f67b4; $custom-dark: #000000;
JSON
{
"hex": "#1f2f93",
"rgb": {
"r": 31,
"g": 47,
"b": 147
},
"hsl": {
"h": 231.724,
"s": 65.169,
"l": 34.902
},
"oklch": {
"l": 0.36628,
"c": 0.16371,
"h": 269.1
},
"luminance": 0.04431
}Semantic roles & 50–950 ramp
primary
#1F2F93
secondary
#BEAF50
accent
#D140E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80