#1F47A0#1F47A0
#1F47A0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.152 H 263.2°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #1F47A0 |
|---|---|
| RGB | rgb(31, 71, 160) |
| HSL | hsl(221, 68%, 37%) |
| HSV | hsv(221, 81%, 63%) |
| CMYK | cmyk(80.6%, 55.6%, 0%, 37.3%) |
| CIE-LAB | lab(32.56, 19.95, -52.21) |
| CIE-LCH | lch(32.56, 55.89, 290.91°) |
| OKLab | oklab(42.57% -0.0179 -0.1506) |
| OKLCH | oklch(42.57% 0.152 263.2) |
| XYZ | xyz(9.1612, 7.3348, 34.1838) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.77
Cobalt (survey)
#1E488F
ΔE00 2.72
Sapphire
#0F52BA
ΔE00 4.73
Darkish Blue
#014182
ΔE00 5.20
Dusk Blue
#26538D
ΔE00 5.35
Sapphire (survey)
#2138AB
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F47A0 #A0781F
analogous
#1F88A0 #1F47A0 #371FA0
triadic
#1F47A0 #A01F47 #47A01F
tetradic
#1F47A0 #A01F88 #A0781F #1FA037
square
#1F47A0 #A01F88 #A0781F #1FA037
split-complementary
#1F47A0 #A0371F #88A01F
monochromatic
#0B1A39 #15306D #1F47A0 #295ED3 #5A83DF
Accessibility & contrast
On white
8.51
#1F47A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#1F47A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F47A0
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F47A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F47A0 | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f47a0; /* rgb */ color: rgb(31, 71, 160); /* oklch */ color: oklch(42.6% 0.152 263.2);
Tailwind
colors: {
custom: {
50: '#7079bd',
500: '#1f47a0',
950: '#000000',
},
}SCSS
$custom: #1f47a0; $custom-light: #7079bd; $custom-dark: #000000;
JSON
{
"hex": "#1f47a0",
"rgb": {
"r": 31,
"g": 71,
"b": 160
},
"hsl": {
"h": 221.395,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.42565,
"c": 0.1517,
"h": 263.2
},
"luminance": 0.07336
}Semantic roles & 50–950 ramp
primary
#1F47A0
secondary
#C3A258
accent
#B53DEA
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81