#1F46A0#1F46A0
#1F46A0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.153 H 263.5°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #1F46A0 |
|---|---|
| RGB | rgb(31, 70, 160) |
| HSL | hsl(222, 68%, 37%) |
| HSV | hsv(222, 81%, 63%) |
| CMYK | cmyk(80.6%, 56.3%, 0%, 37.3%) |
| CIE-LAB | lab(32.28, 20.63, -52.67) |
| CIE-LCH | lch(32.28, 56.56, 291.39°) |
| OKLab | oklab(42.35% -0.0172 -0.152) |
| OKLCH | oklch(42.35% 0.153 263.5) |
| XYZ | xyz(9.0981, 7.2086, 34.1628) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.87
Cobalt (survey)
#1E488F
ΔE00 2.90
Sapphire
#0F52BA
ΔE00 4.99
Darkish Blue
#014182
ΔE00 5.24
Sapphire (survey)
#2138AB
ΔE00 5.38
Dusk Blue
#26538D
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F46A0 #A0791F
analogous
#1F87A0 #1F46A0 #381FA0
triadic
#1F46A0 #A01F46 #46A01F
tetradic
#1F46A0 #A01F87 #A0791F #1FA038
square
#1F46A0 #A01F87 #A0791F #1FA038
split-complementary
#1F46A0 #A0381F #87A01F
monochromatic
#0B1939 #15306D #1F46A0 #295CD3 #5A82DF
Accessibility & contrast
On white
8.60
#1F46A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#1F46A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F46A0
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F46A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F46A0 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f46a0; /* rgb */ color: rgb(31, 70, 160); /* oklch */ color: oklch(42.4% 0.153 263.5);
Tailwind
colors: {
custom: {
50: '#7178bd',
500: '#1f46a0',
950: '#000000',
},
}SCSS
$custom: #1f46a0; $custom-light: #7178bd; $custom-dark: #000000;
JSON
{
"hex": "#1f46a0",
"rgb": {
"r": 31,
"g": 70,
"b": 160
},
"hsl": {
"h": 221.86,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.42354,
"c": 0.15297,
"h": 263.5
},
"luminance": 0.0721
}Semantic roles & 50–950 ramp
primary
#1F46A0
secondary
#C3A358
accent
#B63DEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81