#1F2F95#1F2F95
#1F2F95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.166 H 269.0°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F95 |
|---|---|
| RGB | rgb(31, 47, 149) |
| HSL | hsl(232, 66%, 35%) |
| HSV | hsv(232, 79%, 58%) |
| CMYK | cmyk(79.2%, 68.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.24, 31.87, -57.47) |
| CIE-LCH | lch(25.24, 65.71, 299.01°) |
| OKLab | oklab(36.83% -0.0028 -0.1664) |
| OKLCH | oklch(36.83% 0.166 269) |
| XYZ | xyz(7.0045, 4.4935, 28.9261) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.79
Royal
#0C1793
ΔE00 5.96
Blueberry
#464196
ΔE00 6.61
Darkslateblue
#483D8B
ΔE00 6.96
Indigo Blue
#3A18B1
ΔE00 7.51
Midnight Blue
#191970
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F95 #95851F
analogous
#1F6A95 #1F2F95 #4A1F95
triadic
#1F2F95 #951F2F #2F951F
tetradic
#1F2F95 #951F6A #95851F #1F954A
square
#1F2F95 #951F6A #95851F #1F954A
split-complementary
#1F2F95 #954A1F #6A951F
monochromatic
#0A0F30 #141F62 #1F2F95 #2A3FC8 #5366DB
Accessibility & contrast
On white
11.06
#1F2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1F2F95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F95
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F95 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1f2f95; /* rgb */ color: rgb(31, 47, 149); /* oklch */ color: oklch(36.8% 0.166 269.0);
Tailwind
colors: {
custom: {
50: '#7067b5',
500: '#1f2f95',
950: '#000000',
},
}SCSS
$custom: #1f2f95; $custom-light: #7067b5; $custom-dark: #000000;
JSON
{
"hex": "#1f2f95",
"rgb": {
"r": 31,
"g": 47,
"b": 149
},
"hsl": {
"h": 231.864,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.36829,
"c": 0.16638,
"h": 269
},
"luminance": 0.04494
}Semantic roles & 50–950 ramp
primary
#1F2F95
secondary
#BFB051
accent
#D23FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80