#1F2D73#1F2D73
#1F2D73 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.121 H 269.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D73 |
|---|---|
| RGB | rgb(31, 45, 115) |
| HSL | hsl(230, 58%, 29%) |
| HSV | hsv(230, 73%, 45%) |
| CMYK | cmyk(73%, 60.9%, 0%, 54.9%) |
| CIE-LAB | lab(21.60, 20.10, -42.08) |
| CIE-LCH | lch(21.60, 46.64, 295.54°) |
| OKLab | oklab(33.19% -0.0002 -0.1213) |
| OKLCH | oklch(33.19% 0.121 269.9) |
| XYZ | xyz(4.5969, 3.4054, 16.6314) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.37
Midnight Blue
#191970
ΔE00 6.14
Marine Blue
#01386A
ΔE00 7.21
Darkslateblue
#483D8B
ΔE00 7.77
Navy Blue
#1B2A4A
ΔE00 7.88
Darkish Blue
#014182
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D73 #73651F
analogous
#1F5773 #1F2D73 #3B1F73
triadic
#1F2D73 #731F2D #2D731F
tetradic
#1F2D73 #731F57 #73651F #1F733B
square
#1F2D73 #731F57 #73651F #1F733B
split-complementary
#1F2D73 #733B1F #57731F
monochromatic
#060918 #121A43 #1F2D73 #2C40A3 #4158CC
Accessibility & contrast
On white
12.49
#1F2D73 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1F2D73 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D73
12.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D73 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D73 | 1.00 | 12.49 | 1.68 | 12.49 |
| #FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1f2d73; /* rgb */ color: rgb(31, 45, 115); /* oklch */ color: oklch(33.2% 0.121 269.9);
Tailwind
colors: {
custom: {
50: '#67659c',
500: '#1f2d73',
950: '#000000',
},
}SCSS
$custom: #1f2d73; $custom-light: #67659c; $custom-dark: #000000;
JSON
{
"hex": "#1f2d73",
"rgb": {
"r": 31,
"g": 45,
"b": 115
},
"hsl": {
"h": 230,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.33187,
"c": 0.1213,
"h": 269.9
},
"luminance": 0.03406
}Semantic roles & 50–950 ramp
primary
#1F2D73
secondary
#A79747
accent
#C747E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E