#1F3188#1F3188
#1F3188 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.146 H 268.7°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3188 |
|---|---|
| RGB | rgb(31, 49, 136) |
| HSL | hsl(230, 63%, 33%) |
| HSV | hsv(230, 77%, 53%) |
| CMYK | cmyk(77.2%, 64%, 0%, 46.7%) |
| CIE-LAB | lab(24.53, 25.56, -50.58) |
| CIE-LCH | lch(24.53, 56.67, 296.81°) |
| OKLab | oklab(35.93% -0.0034 -0.1462) |
| OKLCH | oklch(35.93% 0.146 268.7) |
| XYZ | xyz(6.1058, 4.2648, 23.7892) |
| Luminance | 0.0427 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.27
Blueberry
#464196
ΔE00 6.62
Darkslateblue
#483D8B
ΔE00 6.64
Midnight Blue
#191970
ΔE00 7.23
Royal
#0C1793
ΔE00 7.31
Marine
#042E60
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3188 #88761F
analogous
#1F6688 #1F3188 #411F88
triadic
#1F3188 #881F31 #31881F
tetradic
#1F3188 #881F66 #88761F #1F8841
square
#1F3188 #881F66 #88761F #1F8841
split-complementary
#1F3188 #88411F #66881F
monochromatic
#080D24 #141F56 #1F3188 #2A43BA #4B63D6
Accessibility & contrast
On white
11.33
#1F3188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1F3188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3188
11.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3188 | 1.00 | 11.33 | 1.85 | 11.33 |
| #FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003586
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1f3188; /* rgb */ color: rgb(31, 49, 136); /* oklch */ color: oklch(35.9% 0.146 268.7);
Tailwind
colors: {
custom: {
50: '#6c69ac',
500: '#1f3188',
950: '#000000',
},
}SCSS
$custom: #1f3188; $custom-light: #6c69ac; $custom-dark: #000000;
JSON
{
"hex": "#1f3188",
"rgb": {
"r": 31,
"g": 49,
"b": 136
},
"hsl": {
"h": 229.714,
"s": 62.874,
"l": 32.745
},
"oklch": {
"l": 0.35933,
"c": 0.14624,
"h": 268.7
},
"luminance": 0.04266
}Semantic roles & 50–950 ramp
primary
#1F3188
secondary
#B9A64A
accent
#CA42E6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F