#1F2D66#1F2D66
#1F2D66 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.102 H 269.5°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2D66 |
|---|---|
| RGB | rgb(31, 45, 102) |
| HSL | hsl(228, 53%, 26%) |
| HSV | hsv(228, 70%, 40%) |
| CMYK | cmyk(69.6%, 55.9%, 0%, 60%) |
| CIE-LAB | lab(20.55, 14.95, -35.39) |
| CIE-LCH | lch(20.55, 38.41, 292.90°) |
| OKLab | oklab(32.06% -0.0009 -0.1016) |
| OKLCH | oklch(32.06% 0.102 269.5) |
| XYZ | xyz(3.9009, 3.1270, 12.9658) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.17
Navy Blue
#1B2A4A
ΔE00 5.78
Marine Blue
#01386A
ΔE00 6.71
Midnight Blue
#191970
ΔE00 7.40
Navy (survey)
#01153E
ΔE00 8.59
Navy Blue (survey)
#001146
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2D66 #66581F
analogous
#1F5066 #1F2D66 #341F66
triadic
#1F2D66 #661F2D #2D661F
tetradic
#1F2D66 #661F50 #66581F #1F6634
square
#1F2D66 #661F50 #66581F #1F6634
split-complementary
#1F2D66 #66341F #50661F
monochromatic
#070A17 #111837 #1F2D66 #2D4295 #3C57C4
Accessibility & contrast
On white
12.92
#1F2D66 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1F2D66 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2D66
12.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2D66 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2D66 | 1.00 | 12.92 | 1.63 | 12.92 |
| #FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#083568
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1f2d66; /* rgb */ color: rgb(31, 45, 102); /* oklch */ color: oklch(32.1% 0.102 269.5);
Tailwind
colors: {
custom: {
50: '#646592',
500: '#1f2d66',
950: '#000000',
},
}SCSS
$custom: #1f2d66; $custom-light: #646592; $custom-dark: #000000;
JSON
{
"hex": "#1f2d66",
"rgb": {
"r": 31,
"g": 45,
"b": 102
},
"hsl": {
"h": 228.169,
"s": 53.383,
"l": 26.078
},
"oklch": {
"l": 0.32063,
"c": 0.10161,
"h": 269.5
},
"luminance": 0.03127
}Semantic roles & 50–950 ramp
primary
#1F2D66
secondary
#9A8A46
accent
#C04BDD
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E