#1F2B72#1F2B72
#1F2B72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.123 H 270.7°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B72 |
|---|---|
| RGB | rgb(31, 43, 114) |
| HSL | hsl(231, 57%, 28%) |
| HSV | hsv(231, 73%, 45%) |
| CMYK | cmyk(72.8%, 62.3%, 0%, 55.3%) |
| CIE-LAB | lab(20.96, 21.12, -42.49) |
| CIE-LCH | lch(20.96, 47.45, 296.43°) |
| OKLab | oklab(32.68% 0.0015 -0.1225) |
| OKLCH | oklch(32.68% 0.123 270.7) |
| XYZ | xyz(4.4652, 3.2335, 16.3051) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.48
Marine
#042E60
ΔE00 5.73
Marine Blue
#01386A
ΔE00 7.78
Darkslateblue
#483D8B
ΔE00 7.96
Navy Blue
#1B2A4A
ΔE00 7.97
Royal
#0C1793
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B72 #72661F
analogous
#1F5472 #1F2B72 #3C1F72
triadic
#1F2B72 #721F2B #2B721F
tetradic
#1F2B72 #721F54 #72661F #1F723C
square
#1F2B72 #721F54 #72661F #1F723C
split-complementary
#1F2B72 #723C1F #54721F
monochromatic
#070918 #121942 #1F2B72 #2C3DA2 #4054CB
Accessibility & contrast
On white
12.75
#1F2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1F2B72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B72
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B72 | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1f2b72; /* rgb */ color: rgb(31, 43, 114); /* oklch */ color: oklch(32.7% 0.123 270.7);
Tailwind
colors: {
custom: {
50: '#67649b',
500: '#1f2b72',
950: '#000000',
},
}SCSS
$custom: #1f2b72; $custom-light: #67649b; $custom-dark: #000000;
JSON
{
"hex": "#1f2b72",
"rgb": {
"r": 31,
"g": 43,
"b": 114
},
"hsl": {
"h": 231.325,
"s": 57.241,
"l": 28.431
},
"oklch": {
"l": 0.32681,
"c": 0.12253,
"h": 270.7
},
"luminance": 0.03234
}Semantic roles & 50–950 ramp
primary
#1F2B72
secondary
#A69847
accent
#CA47E0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E