#1F2A95#1F2A95
#1F2A95 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.172 H 269.9°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2A95 |
|---|---|
| RGB | rgb(31, 42, 149) |
| HSL | hsl(234, 66%, 35%) |
| HSV | hsv(234, 79%, 58%) |
| CMYK | cmyk(79.2%, 71.8%, 0%, 41.6%) |
| CIE-LAB | lab(24.05, 35.09, -59.42) |
| CIE-LCH | lch(24.05, 69.01, 300.56°) |
| OKLab | oklab(35.97% -0.0002 -0.1721) |
| OKLCH | oklch(35.97% 0.172 269.9) |
| XYZ | xyz(6.8160, 4.1164, 28.8633) |
| Luminance | 0.0412 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.52
Sapphire (survey)
#2138AB
ΔE00 4.72
Indigo Blue
#3A18B1
ΔE00 6.45
Cobalt Blue
#030AA7
ΔE00 6.50
Midnight Blue
#191970
ΔE00 6.64
Royal Blue (survey)
#0504AA
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2A95 #958A1F
analogous
#1F6595 #1F2A95 #4F1F95
triadic
#1F2A95 #951F2A #2A951F
tetradic
#1F2A95 #951F65 #958A1F #1F954F
square
#1F2A95 #951F65 #958A1F #1F954F
split-complementary
#1F2A95 #954F1F #65951F
monochromatic
#0A0D30 #141C62 #1F2A95 #2A38C8 #5360DB
Accessibility & contrast
On white
11.52
#1F2A95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1F2A95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2A95
11.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2A95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2A95 | 1.00 | 11.52 | 1.82 | 11.52 |
| #FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f2a95; /* rgb */ color: rgb(31, 42, 149); /* oklch */ color: oklch(36.0% 0.172 269.9);
Tailwind
colors: {
custom: {
50: '#7064b5',
500: '#1f2a95',
950: '#000000',
},
}SCSS
$custom: #1f2a95; $custom-light: #7064b5; $custom-dark: #000000;
JSON
{
"hex": "#1f2a95",
"rgb": {
"r": 31,
"g": 42,
"b": 149
},
"hsl": {
"h": 234.407,
"s": 65.556,
"l": 35.294
},
"oklch": {
"l": 0.35969,
"c": 0.17207,
"h": 269.9
},
"luminance": 0.04117
}Semantic roles & 50–950 ramp
primary
#1F2A95
secondary
#BFB451
accent
#D93FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80