#1F46A1#1F46A1
#1F46A1 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.154 H 263.6°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1F46A1 |
|---|---|
| RGB | rgb(31, 70, 161) |
| HSL | hsl(222, 68%, 38%) |
| HSV | hsv(222, 81%, 63%) |
| CMYK | cmyk(80.7%, 56.5%, 0%, 36.9%) |
| CIE-LAB | lab(32.36, 21.03, -53.14) |
| CIE-LCH | lch(32.36, 57.15, 291.59°) |
| OKLab | oklab(42.44% -0.0171 -0.1534) |
| OKLCH | oklch(42.44% 0.154 263.6) |
| XYZ | xyz(9.1860, 7.2437, 34.6253) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.80
Cobalt (survey)
#1E488F
ΔE00 3.04
Sapphire
#0F52BA
ΔE00 4.93
Sapphire (survey)
#2138AB
ΔE00 5.29
Darkish Blue
#014182
ΔE00 5.38
Dusk Blue
#26538D
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F46A1 #A17A1F
analogous
#1F87A1 #1F46A1 #391FA1
triadic
#1F46A1 #A11F46 #46A11F
tetradic
#1F46A1 #A11F87 #A17A1F #1FA139
square
#1F46A1 #A11F87 #A17A1F #1FA139
split-complementary
#1F46A1 #A1391F #87A11F
monochromatic
#0B193A #15306E #1F46A1 #295CD4 #5B83DF
Accessibility & contrast
On white
8.57
#1F46A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#1F46A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F46A1
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F46A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F46A1 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f46a1; /* rgb */ color: rgb(31, 70, 161); /* oklch */ color: oklch(42.4% 0.154 263.6);
Tailwind
colors: {
custom: {
50: '#7178be',
500: '#1f46a1',
950: '#000000',
},
}SCSS
$custom: #1f46a1; $custom-light: #7178be; $custom-dark: #000000;
JSON
{
"hex": "#1f46a1",
"rgb": {
"r": 31,
"g": 70,
"b": 161
},
"hsl": {
"h": 222,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.42437,
"c": 0.15435,
"h": 263.6
},
"luminance": 0.07245
}Semantic roles & 50–950 ramp
primary
#1F46A1
secondary
#C4A358
accent
#B73DEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81