#1F3085#1F3085
#1F3085 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.143 H 269.0°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3085 |
|---|---|
| RGB | rgb(31, 48, 133) |
| HSL | hsl(230, 62%, 32%) |
| HSV | hsv(230, 77%, 52%) |
| CMYK | cmyk(76.7%, 63.9%, 0%, 47.8%) |
| CIE-LAB | lab(23.99, 25.08, -49.58) |
| CIE-LCH | lch(23.99, 55.56, 296.83°) |
| OKLab | oklab(35.45% -0.0026 -0.1433) |
| OKLCH | oklch(35.45% 0.143 269) |
| XYZ | xyz(5.8542, 4.0980, 22.6682) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 6.75
Midnight Blue
#191970
ΔE00 6.85
Blueberry
#464196
ΔE00 6.88
Marine
#042E60
ΔE00 7.16
Royal
#0C1793
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3085 #85741F
analogous
#1F6385 #1F3085 #411F85
triadic
#1F3085 #851F30 #30851F
tetradic
#1F3085 #851F63 #85741F #1F8541
square
#1F3085 #851F63 #85741F #1F8541
split-complementary
#1F3085 #85411F #63851F
monochromatic
#080C22 #131E53 #1F3085 #2B42B7 #4A61D5
Accessibility & contrast
On white
11.54
#1F3085 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1F3085 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3085
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3085 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3085 | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1f3085; /* rgb */ color: rgb(31, 48, 133); /* oklch */ color: oklch(35.5% 0.143 269.0);
Tailwind
colors: {
custom: {
50: '#6b68a9',
500: '#1f3085',
950: '#000000',
},
}SCSS
$custom: #1f3085; $custom-light: #6b68a9; $custom-dark: #000000;
JSON
{
"hex": "#1f3085",
"rgb": {
"r": 31,
"g": 48,
"b": 133
},
"hsl": {
"h": 230,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.35454,
"c": 0.1433,
"h": 269
},
"luminance": 0.04099
}Semantic roles & 50–950 ramp
primary
#1F3085
secondary
#B7A549
accent
#CA43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F