#1F2C74#1F2C74
#1F2C74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.124 H 270.3°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C74 |
|---|---|
| RGB | rgb(31, 44, 116) |
| HSL | hsl(231, 58%, 29%) |
| HSV | hsv(231, 73%, 45%) |
| CMYK | cmyk(73.3%, 62.1%, 0%, 54.5%) |
| CIE-LAB | lab(21.41, 21.20, -43.04) |
| CIE-LCH | lch(21.41, 47.98, 296.23°) |
| OKLab | oklab(33.07% 0.0007 -0.1241) |
| OKLCH | oklch(33.07% 0.124 270.3) |
| XYZ | xyz(4.6171, 3.3532, 16.9235) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.71
Midnight Blue
#191970
ΔE00 5.72
Marine Blue
#01386A
ΔE00 7.58
Darkslateblue
#483D8B
ΔE00 7.76
Royal
#0C1793
ΔE00 8.14
Navy Blue
#1B2A4A
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C74 #74671F
analogous
#1F5774 #1F2C74 #3D1F74
triadic
#1F2C74 #741F2C #2C741F
tetradic
#1F2C74 #741F57 #74671F #1F743D
square
#1F2C74 #741F57 #74671F #1F743D
split-complementary
#1F2C74 #743D1F #57741F
monochromatic
#060918 #121A44 #1F2C74 #2C3EA4 #4156CC
Accessibility & contrast
On white
12.57
#1F2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1F2C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C74
12.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C74 | 1.00 | 12.57 | 1.67 | 12.57 |
| #FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1f2c74; /* rgb */ color: rgb(31, 44, 116); /* oklch */ color: oklch(33.1% 0.124 270.3);
Tailwind
colors: {
custom: {
50: '#67649d',
500: '#1f2c74',
950: '#000000',
},
}SCSS
$custom: #1f2c74; $custom-light: #67649d; $custom-dark: #000000;
JSON
{
"hex": "#1f2c74",
"rgb": {
"r": 31,
"g": 44,
"b": 116
},
"hsl": {
"h": 230.824,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.3307,
"c": 0.12412,
"h": 270.3
},
"luminance": 0.03354
}Semantic roles & 50–950 ramp
primary
#1F2C74
secondary
#A89947
accent
#C947E1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E