#1F3C9B#1F3C9B
#1F3C9B is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.159 H 266.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3C9B |
|---|---|
| RGB | rgb(31, 60, 155) |
| HSL | hsl(226, 67%, 36%) |
| HSV | hsv(226, 80%, 61%) |
| CMYK | cmyk(80%, 61.3%, 0%, 39.2%) |
| CIE-LAB | lab(29.13, 25.46, -54.76) |
| CIE-LCH | lch(29.13, 60.40, 294.94°) |
| OKLab | oklab(39.87% -0.0107 -0.1583) |
| OKLCH | oklch(39.87% 0.159 266.1) |
| XYZ | xyz(8.0952, 5.8886, 31.7140) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.03
Cobalt
#0047AB
ΔE00 4.51
Cobalt (survey)
#1E488F
ΔE00 5.23
Blueberry
#464196
ΔE00 5.52
Darkish Blue
#014182
ΔE00 6.18
Blue Blue
#2242C7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3C9B #9B7E1F
analogous
#1F7A9B #1F3C9B #401F9B
triadic
#1F3C9B #9B1F3C #3C9B1F
tetradic
#1F3C9B #9B1F7A #9B7E1F #1F9B40
square
#1F3C9B #9B1F7A #9B7E1F #1F9B40
split-complementary
#1F3C9B #9B401F #7A9B1F
monochromatic
#0B1535 #152868 #1F3C9B #2950CE #5776DD
Accessibility & contrast
On white
9.64
#1F3C9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#1F3C9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3C9B
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3C9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3C9B | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#003F99
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f3c9b; /* rgb */ color: rgb(31, 60, 155); /* oklch */ color: oklch(39.9% 0.159 266.1);
Tailwind
colors: {
custom: {
50: '#7071b9',
500: '#1f3c9b',
950: '#000000',
},
}SCSS
$custom: #1f3c9b; $custom-light: #7071b9; $custom-dark: #000000;
JSON
{
"hex": "#1f3c9b",
"rgb": {
"r": 31,
"g": 60,
"b": 155
},
"hsl": {
"h": 225.968,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.39865,
"c": 0.15868,
"h": 266.1
},
"luminance": 0.0589
}Semantic roles & 50–950 ramp
primary
#1F3C9B
secondary
#C1A855
accent
#C23EEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81