#1F2B73#1F2B73
#1F2B73 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.124 H 270.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2B73 |
|---|---|
| RGB | rgb(31, 43, 115) |
| HSL | hsl(231, 58%, 29%) |
| HSV | hsv(231, 73%, 45%) |
| CMYK | cmyk(73%, 62.6%, 0%, 54.9%) |
| CIE-LAB | lab(21.04, 21.51, -42.99) |
| CIE-LCH | lch(21.04, 48.07, 296.59°) |
| OKLab | oklab(32.77% 0.0015 -0.124) |
| OKLCH | oklch(32.77% 0.124 270.7) |
| XYZ | xyz(4.5224, 3.2564, 16.6065) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.42
Marine
#042E60
ΔE00 5.84
Marine Blue
#01386A
ΔE00 7.83
Darkslateblue
#483D8B
ΔE00 7.89
Royal
#0C1793
ΔE00 8.02
Navy Blue
#1B2A4A
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2B73 #73671F
analogous
#1F5573 #1F2B73 #3D1F73
triadic
#1F2B73 #731F2B #2B731F
tetradic
#1F2B73 #731F55 #73671F #1F733D
square
#1F2B73 #731F55 #73671F #1F733D
split-complementary
#1F2B73 #733D1F #55731F
monochromatic
#060918 #121943 #1F2B73 #2C3DA3 #4155CC
Accessibility & contrast
On white
12.72
#1F2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1F2B73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2B73
12.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2B73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2B73 | 1.00 | 12.72 | 1.65 | 12.72 |
| #FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f2b73; /* rgb */ color: rgb(31, 43, 115); /* oklch */ color: oklch(32.8% 0.124 270.7);
Tailwind
colors: {
custom: {
50: '#67649c',
500: '#1f2b73',
950: '#000000',
},
}SCSS
$custom: #1f2b73; $custom-light: #67649c; $custom-dark: #000000;
JSON
{
"hex": "#1f2b73",
"rgb": {
"r": 31,
"g": 43,
"b": 115
},
"hsl": {
"h": 231.429,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.32773,
"c": 0.124,
"h": 270.7
},
"luminance": 0.03257
}Semantic roles & 50–950 ramp
primary
#1F2B73
secondary
#A79947
accent
#CB47E1
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E