#1F47B2#1F47B2
#1F47B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.176 H 264.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1F47B2 |
|---|---|
| RGB | rgb(31, 71, 178) |
| HSL | hsl(224, 70%, 41%) |
| HSV | hsv(224, 83%, 70%) |
| CMYK | cmyk(82.6%, 60.1%, 0%, 30.2%) |
| CIE-LAB | lab(34.01, 27.02, -60.62) |
| CIE-LCH | lch(34.01, 66.36, 294.02°) |
| OKLab | oklab(44.11% -0.0169 -0.1753) |
| OKLCH | oklch(44.11% 0.176 264.5) |
| XYZ | xyz(10.8513, 8.0108, 43.0852) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.25
Blue Blue
#2242C7
ΔE00 3.67
Sapphire
#0F52BA
ΔE00 4.10
Sapphire (survey)
#2138AB
ΔE00 4.78
Cobalt (survey)
#1E488F
ΔE00 5.28
Blue (survey)
#0343DF
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F47B2 #B28A1F
analogous
#1F90B2 #1F47B2 #401FB2
triadic
#1F47B2 #B21F47 #47B21F
tetradic
#1F47B2 #B21F90 #B28A1F #1FB240
square
#1F47B2 #B21F90 #B28A1F #1FB240
split-complementary
#1F47B2 #B2401F #90B21F
monochromatic
#0D1D4A #16327E #1F47B2 #3361DB #6789E5
Accessibility & contrast
On white
8.07
#1F47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#1F47B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F47B2
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F47B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F47B2 | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #1f47b2; /* rgb */ color: rgb(31, 71, 178); /* oklch */ color: oklch(44.1% 0.176 264.5);
Tailwind
colors: {
custom: {
50: '#7579ca',
500: '#1f47b2',
950: '#000000',
},
}SCSS
$custom: #1f47b2; $custom-light: #7579ca; $custom-dark: #000000;
JSON
{
"hex": "#1f47b2",
"rgb": {
"r": 31,
"g": 71,
"b": 178
},
"hsl": {
"h": 223.673,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.44107,
"c": 0.17614,
"h": 264.5
},
"luminance": 0.08012
}Semantic roles & 50–950 ramp
primary
#1F47B2
secondary
#CAAE63
accent
#BD3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82