#1F2F63#1F2F63
#1F2F63 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.094 H 268.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1F2F63 |
|---|---|
| RGB | rgb(31, 47, 99) |
| HSL | hsl(226, 52%, 25%) |
| HSV | hsv(226, 69%, 39%) |
| CMYK | cmyk(68.7%, 52.5%, 0%, 61.2%) |
| CIE-LAB | lab(20.92, 12.31, -32.82) |
| CIE-LCH | lch(20.92, 35.05, 290.56°) |
| OKLab | oklab(32.28% -0.0033 -0.094) |
| OKLCH | oklch(32.28% 0.094 268) |
| XYZ | xyz(3.8329, 3.2248, 12.2224) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.59
Navy Blue
#1B2A4A
ΔE00 5.04
Marine Blue
#01386A
ΔE00 6.03
Darkish Blue
#014182
ΔE00 8.32
Midnight Blue
#191970
ΔE00 8.49
Navy (survey)
#01153E
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F2F63 #63531F
analogous
#1F5163 #1F2F63 #311F63
triadic
#1F2F63 #631F2F #2F631F
tetradic
#1F2F63 #631F51 #63531F #1F6331
square
#1F2F63 #631F51 #63531F #1F6331
split-complementary
#1F2F63 #63311F #51631F
monochromatic
#070B17 #101934 #1F2F63 #2E4592 #3C5BC0
Accessibility & contrast
On white
12.77
#1F2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1F2F63 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F2F63
12.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F2F63 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F2F63 | 1.00 | 12.77 | 1.65 | 12.77 |
| #FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#133665
Deuteranopia (green-blind)
#032F62
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1f2f63; /* rgb */ color: rgb(31, 47, 99); /* oklch */ color: oklch(32.3% 0.094 268.0);
Tailwind
colors: {
custom: {
50: '#636790',
500: '#1f2f63',
950: '#000000',
},
}SCSS
$custom: #1f2f63; $custom-light: #636790; $custom-dark: #000000;
JSON
{
"hex": "#1f2f63",
"rgb": {
"r": 31,
"g": 47,
"b": 99
},
"hsl": {
"h": 225.882,
"s": 52.308,
"l": 25.49
},
"oklch": {
"l": 0.32277,
"c": 0.09408,
"h": 268
},
"luminance": 0.03225
}Semantic roles & 50–950 ramp
primary
#1F2F63
secondary
#988446
accent
#BA4CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D