#1F3563#1F3563
#1F3563 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.086 H 263.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3563 |
|---|---|
| RGB | rgb(31, 53, 99) |
| HSL | hsl(221, 52%, 25%) |
| HSV | hsv(221, 69%, 39%) |
| CMYK | cmyk(68.7%, 46.5%, 0%, 61.2%) |
| CIE-LAB | lab(22.79, 8.03, -29.83) |
| CIE-LCH | lch(22.79, 30.89, 285.06°) |
| OKLab | oklab(33.7% -0.01 -0.0851) |
| OKLCH | oklch(33.7% 0.086 263.3) |
| XYZ | xyz(4.0895, 3.7380, 12.3079) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.14
Marine Blue
#01386A
ΔE00 4.17
Navy Blue
#1B2A4A
ΔE00 5.10
Darkish Blue
#014182
ΔE00 6.55
Twilight Blue
#0A437A
ΔE00 6.61
Prussian Blue
#004577
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3563 #634D1F
analogous
#1F5763 #1F3563 #2B1F63
triadic
#1F3563 #631F35 #35631F
tetradic
#1F3563 #631F57 #634D1F #1F632B
square
#1F3563 #631F57 #634D1F #1F632B
split-complementary
#1F3563 #632B1F #57631F
monochromatic
#070C17 #101C34 #1F3563 #2E4E92 #3C67C0
Accessibility & contrast
On white
12.02
#1F3563 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1F3563 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3563
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3563 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3563 | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3A65
Deuteranopia (green-blind)
#143362
Tritanopia (blue-blind)
#003F47
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1f3563; /* rgb */ color: rgb(31, 53, 99); /* oklch */ color: oklch(33.7% 0.086 263.3);
Tailwind
colors: {
custom: {
50: '#636b90',
500: '#1f3563',
950: '#000000',
},
}SCSS
$custom: #1f3563; $custom-light: #636b90; $custom-dark: #000000;
JSON
{
"hex": "#1f3563",
"rgb": {
"r": 31,
"g": 53,
"b": 99
},
"hsl": {
"h": 220.588,
"s": 52.308,
"l": 25.49
},
"oklch": {
"l": 0.33703,
"c": 0.08573,
"h": 263.3
},
"luminance": 0.03738
}Semantic roles & 50–950 ramp
primary
#1F3563
secondary
#987D46
accent
#AD4CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D