#1F3F94#1F3F94
#1F3F94 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.145 H 264.8°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1F3F94 |
|---|---|
| RGB | rgb(31, 63, 148) |
| HSL | hsl(224, 65%, 35%) |
| HSV | hsv(224, 79%, 58%) |
| CMYK | cmyk(79.1%, 57.4%, 0%, 42%) |
| CIE-LAB | lab(29.37, 20.65, -50.10) |
| CIE-LCH | lch(29.37, 54.19, 292.40°) |
| OKLab | oklab(39.86% -0.013 -0.1446) |
| OKLCH | oklch(39.86% 0.145 264.8) |
| XYZ | xyz(7.6860, 5.9836, 28.7611) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.67
Cobalt
#0047AB
ΔE00 4.08
Darkish Blue
#014182
ΔE00 4.69
Sapphire (survey)
#2138AB
ΔE00 4.71
Twilight Blue
#0A437A
ΔE00 5.82
Blueberry
#464196
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F3F94 #94741F
analogous
#1F7994 #1F3F94 #3A1F94
triadic
#1F3F94 #941F3F #3F941F
tetradic
#1F3F94 #941F79 #94741F #1F943A
square
#1F3F94 #941F79 #94741F #1F943A
split-complementary
#1F3F94 #943A1F #79941F
monochromatic
#0A142F #142961 #1F3F94 #2A55C7 #5378DB
Accessibility & contrast
On white
9.56
#1F3F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#1F3F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F3F94
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F3F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F3F94 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1f3f94; /* rgb */ color: rgb(31, 63, 148); /* oklch */ color: oklch(39.9% 0.145 264.8);
Tailwind
colors: {
custom: {
50: '#6e73b4',
500: '#1f3f94',
950: '#000000',
},
}SCSS
$custom: #1f3f94; $custom-light: #6e73b4; $custom-dark: #000000;
JSON
{
"hex": "#1f3f94",
"rgb": {
"r": 31,
"g": 63,
"b": 148
},
"hsl": {
"h": 223.59,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.39864,
"c": 0.14517,
"h": 264.8
},
"luminance": 0.05984
}Semantic roles & 50–950 ramp
primary
#1F3F94
secondary
#BEA051
accent
#BA3FE8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80