#1F3C82#1F3C82
#1F3C82 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.123 H 264.3°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3C82 |
|---|---|
| RGB | rgb(31, 60, 130) |
| HSL | hsl(222, 61%, 32%) |
| HSV | hsv(222, 76%, 51%) |
| CMYK | cmyk(76.2%, 53.8%, 0%, 49%) |
| CIE-LAB | lab(27.11, 15.54, -42.63) |
| CIE-LCH | lch(27.11, 45.37, 290.02°) |
| OKLab | oklab(37.72% -0.0122 -0.1227) |
| OKLCH | oklch(37.72% 0.123 264.3) |
| XYZ | xyz(6.2088, 5.1341, 21.7785) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 3.90
Cobalt (survey)
#1E488F
ΔE00 4.29
Twilight Blue
#0A437A
ΔE00 4.88
Marine Blue
#01386A
ΔE00 5.00
Marine
#042E60
ΔE00 6.24
Cobalt
#0047AB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3C82 #82651F
analogous
#1F6E82 #1F3C82 #341F82
triadic
#1F3C82 #821F3C #3C821F
tetradic
#1F3C82 #821F6E #82651F #1F8234
square
#1F3C82 #821F6E #82651F #1F8234
split-complementary
#1F3C82 #82341F #6E821F
monochromatic
#070E1F #132551 #1F3C82 #2B53B3 #4871D3
Accessibility & contrast
On white
10.36
#1F3C82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1F3C82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3C82
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3C82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3C82 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4584
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1f3c82; /* rgb */ color: rgb(31, 60, 130); /* oklch */ color: oklch(37.7% 0.123 264.3);
Tailwind
colors: {
custom: {
50: '#6a71a7',
500: '#1f3c82',
950: '#000000',
},
}SCSS
$custom: #1f3c82; $custom-light: #6a71a7; $custom-dark: #000000;
JSON
{
"hex": "#1f3c82",
"rgb": {
"r": 31,
"g": 60,
"b": 130
},
"hsl": {
"h": 222.424,
"s": 61.491,
"l": 31.569
},
"oklch": {
"l": 0.37716,
"c": 0.12328,
"h": 264.3
},
"luminance": 0.05135
}Semantic roles & 50–950 ramp
primary
#1F3C82
secondary
#B59548
accent
#B543E5
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F