#1F3C91#1F3C91
#1F3C91 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.145 H 265.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3C91 |
|---|---|
| RGB | rgb(31, 60, 145) |
| HSL | hsl(225, 65%, 35%) |
| HSV | hsv(225, 79%, 57%) |
| CMYK | cmyk(78.6%, 58.6%, 0%, 43.1%) |
| CIE-LAB | lab(28.29, 21.53, -50.02) |
| CIE-LCH | lch(28.29, 54.45, 293.29°) |
| OKLab | oklab(38.98% -0.011 -0.1444) |
| OKLCH | oklch(38.98% 0.145 265.6) |
| XYZ | xyz(7.2900, 5.5665, 27.4728) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Cobalt (survey)
#1E488F
ΔE00 4.55
Cobalt
#0047AB
ΔE00 5.00
Darkish Blue
#014182
ΔE00 5.10
Blueberry
#464196
ΔE00 5.84
Twilight Blue
#0A437A
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3C91 #91741F
analogous
#1F7591 #1F3C91 #3B1F91
triadic
#1F3C91 #911F3C #3C911F
tetradic
#1F3C91 #911F75 #91741F #1F913B
square
#1F3C91 #911F75 #91741F #1F913B
split-complementary
#1F3C91 #913B1F #75911F
monochromatic
#09122C #14275F #1F3C91 #2A51C3 #5174DA
Accessibility & contrast
On white
9.94
#1F3C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#1F3C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3C91
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3C91 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f3c91; /* rgb */ color: rgb(31, 60, 145); /* oklch */ color: oklch(39.0% 0.145 265.6);
Tailwind
colors: {
custom: {
50: '#6d71b2',
500: '#1f3c91',
950: '#000000',
},
}SCSS
$custom: #1f3c91; $custom-light: #6d71b2; $custom-dark: #000000;
JSON
{
"hex": "#1f3c91",
"rgb": {
"r": 31,
"g": 60,
"b": 145
},
"hsl": {
"h": 224.737,
"s": 64.773,
"l": 34.51
},
"oklch": {
"l": 0.38976,
"c": 0.1448,
"h": 265.6
},
"luminance": 0.05567
}Semantic roles & 50–950 ramp
primary
#1F3C91
secondary
#BDA14F
accent
#BD40E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80