#1F43A7#1F43A7
#1F43A7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.166 H 264.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1F43A7 |
|---|---|
| RGB | rgb(31, 67, 167) |
| HSL | hsl(224, 69%, 39%) |
| HSV | hsv(224, 81%, 65%) |
| CMYK | cmyk(81.4%, 59.9%, 0%, 34.5%) |
| CIE-LAB | lab(32.02, 25.42, -57.29) |
| CIE-LCH | lch(32.02, 62.68, 293.92°) |
| OKLab | oklab(42.34% -0.0149 -0.1656) |
| OKLCH | oklch(42.34% 0.166 264.9) |
| XYZ | xyz(9.5448, 7.0945, 37.4180) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.39
Sapphire (survey)
#2138AB
ΔE00 3.82
Cobalt (survey)
#1E488F
ΔE00 4.50
Blue Blue
#2242C7
ΔE00 4.67
Sapphire
#0F52BA
ΔE00 5.52
Blueberry
#464196
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F43A7 #A7831F
analogous
#1F87A7 #1F43A7 #3F1FA7
triadic
#1F43A7 #A71F43 #43A71F
tetradic
#1F43A7 #A71F87 #A7831F #1FA73F
square
#1F43A7 #A71F87 #A7831F #1FA73F
split-complementary
#1F43A7 #A73F1F #87A71F
monochromatic
#0C1A40 #152E73 #1F43A7 #2B59D8 #5F82E1
Accessibility & contrast
On white
8.68
#1F43A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#1F43A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F43A7
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F43A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F43A7 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #1f43a7; /* rgb */ color: rgb(31, 67, 167); /* oklch */ color: oklch(42.3% 0.166 264.9);
Tailwind
colors: {
custom: {
50: '#7376c2',
500: '#1f43a7',
950: '#000000',
},
}SCSS
$custom: #1f43a7; $custom-light: #7376c2; $custom-dark: #000000;
JSON
{
"hex": "#1f43a7",
"rgb": {
"r": 31,
"g": 67,
"b": 167
},
"hsl": {
"h": 224.118,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.42338,
"c": 0.16631,
"h": 264.9
},
"luminance": 0.07096
}Semantic roles & 50–950 ramp
primary
#1F43A7
secondary
#C6AA5C
accent
#BD3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81