#1F3663#1F3663
#1F3663 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.084 H 262.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3663 |
|---|---|
| RGB | rgb(31, 54, 99) |
| HSL | hsl(220, 52%, 25%) |
| HSV | hsv(220, 69%, 39%) |
| CMYK | cmyk(68.7%, 45.5%, 0%, 61.2%) |
| CIE-LAB | lab(23.10, 7.32, -29.33) |
| CIE-LCH | lch(23.10, 30.23, 284.01°) |
| OKLab | oklab(33.95% -0.0111 -0.0836) |
| OKLCH | oklch(33.95% 0.084 262.4) |
| XYZ | xyz(4.1356, 3.8301, 12.3233) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 3.23
Marine Blue
#01386A
ΔE00 3.90
Navy Blue
#1B2A4A
ΔE00 5.23
Twilight Blue
#0A437A
ΔE00 6.27
Darkish Blue
#014182
ΔE00 6.27
Prussian Blue
#004577
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3663 #634C1F
analogous
#1F5863 #1F3663 #2A1F63
triadic
#1F3663 #631F36 #36631F
tetradic
#1F3663 #631F58 #634C1F #1F632A
square
#1F3663 #631F58 #634C1F #1F632A
split-complementary
#1F3663 #632A1F #58631F
monochromatic
#070D17 #101D34 #1F3663 #2E4F92 #3C69C0
Accessibility & contrast
On white
11.89
#1F3663 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1F3663 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3663
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3663 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3663 | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213A65
Deuteranopia (green-blind)
#173462
Tritanopia (blue-blind)
#004047
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1f3663; /* rgb */ color: rgb(31, 54, 99); /* oklch */ color: oklch(33.9% 0.084 262.4);
Tailwind
colors: {
custom: {
50: '#636c90',
500: '#1f3663',
950: '#000000',
},
}SCSS
$custom: #1f3663; $custom-light: #636c90; $custom-dark: #000000;
JSON
{
"hex": "#1f3663",
"rgb": {
"r": 31,
"g": 54,
"b": 99
},
"hsl": {
"h": 219.706,
"s": 52.308,
"l": 25.49
},
"oklch": {
"l": 0.33946,
"c": 0.08438,
"h": 262.4
},
"luminance": 0.0383
}Semantic roles & 50–950 ramp
primary
#1F3663
secondary
#987C46
accent
#AB4CDC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D