#1F2C6F#1F2C6F
#1F2C6F is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.6% C 0.117 H 270.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2C6F |
|---|---|
| RGB | rgb(31, 44, 111) |
| HSL | hsl(230, 56%, 28%) |
| HSV | hsv(230, 72%, 44%) |
| CMYK | cmyk(72.1%, 60.4%, 0%, 56.5%) |
| CIE-LAB | lab(20.98, 19.23, -40.52) |
| CIE-LCH | lch(20.98, 44.85, 295.39°) |
| OKLab | oklab(32.62% 0.0006 -0.1167) |
| OKLCH | oklch(32.62% 0.117 270.3) |
| XYZ | xyz(4.3340, 3.2399, 15.4328) |
| Luminance | 0.0324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.17
Midnight Blue
#191970
ΔE00 6.07
Marine Blue
#01386A
ΔE00 7.31
Navy Blue
#1B2A4A
ΔE00 7.37
Darkslateblue
#483D8B
ΔE00 8.14
Darkish Blue
#014182
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2C6F #6F621F
analogous
#1F546F #1F2C6F #3A1F6F
triadic
#1F2C6F #6F1F2C #2C6F1F
tetradic
#1F2C6F #6F1F54 #6F621F #1F6F3A
square
#1F2C6F #6F1F54 #6F621F #1F6F3A
split-complementary
#1F2C6F #6F3A1F #546F1F
monochromatic
#070918 #12193F #1F2C6F #2C3F9F #3F56C9
Accessibility & contrast
On white
12.74
#1F2C6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1F2C6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2C6F
12.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2C6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2C6F | 1.00 | 12.74 | 1.65 | 12.74 |
| #FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1f2c6f; /* rgb */ color: rgb(31, 44, 111); /* oklch */ color: oklch(32.6% 0.117 270.3);
Tailwind
colors: {
custom: {
50: '#666499',
500: '#1f2c6f',
950: '#000000',
},
}SCSS
$custom: #1f2c6f; $custom-light: #666499; $custom-dark: #000000;
JSON
{
"hex": "#1f2c6f",
"rgb": {
"r": 31,
"g": 44,
"b": 111
},
"hsl": {
"h": 230.25,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.32619,
"c": 0.11672,
"h": 270.3
},
"luminance": 0.0324
}Semantic roles & 50–950 ramp
primary
#1F2C6F
secondary
#A39447
accent
#C748E0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E