#1F2B79#1F2B79
#1F2B79 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.133 H 270.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B79 |
|---|---|
| RGB | rgb(31, 43, 121) |
| HSL | hsl(232, 59%, 30%) |
| HSV | hsv(232, 74%, 47%) |
| CMYK | cmyk(74.4%, 64.5%, 0%, 52.5%) |
| CIE-LAB | lab(21.58, 23.86, -45.96) |
| CIE-LCH | lch(21.58, 51.78, 297.44°) |
| OKLab | oklab(33.33% 0.0014 -0.1327) |
| OKLCH | oklch(33.33% 0.133 270.6) |
| XYZ | xyz(4.8790, 3.3990, 18.4844) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.19
Marine
#042E60
ΔE00 6.53
Royal
#0C1793
ΔE00 7.15
Darkslateblue
#483D8B
ΔE00 7.56
Sapphire (survey)
#2138AB
ΔE00 7.84
Marine Blue
#01386A
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B79 #796D1F
analogous
#1F5879 #1F2B79 #401F79
triadic
#1F2B79 #791F2B #2B791F
tetradic
#1F2B79 #791F58 #796D1F #1F7940
square
#1F2B79 #791F58 #796D1F #1F7940
split-complementary
#1F2B79 #79401F #58791F
monochromatic
#060918 #131A48 #1F2B79 #2B3CAA #4356CF
Accessibility & contrast
On white
12.50
#1F2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1F2B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B79
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B79 | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f2b79; /* rgb */ color: rgb(31, 43, 121); /* oklch */ color: oklch(33.3% 0.133 270.6);
Tailwind
colors: {
custom: {
50: '#6964a0',
500: '#1f2b79',
950: '#000000',
},
}SCSS
$custom: #1f2b79; $custom-light: #6964a0; $custom-dark: #000000;
JSON
{
"hex": "#1f2b79",
"rgb": {
"r": 31,
"g": 43,
"b": 121
},
"hsl": {
"h": 232,
"s": 59.211,
"l": 29.804
},
"oklch": {
"l": 0.33333,
"c": 0.13271,
"h": 270.6
},
"luminance": 0.034
}Semantic roles & 50–950 ramp
primary
#1F2B79
secondary
#AC9F47
accent
#CD45E2
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F