#1F43B2#1F43B2
#1F43B2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.181 H 265.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #1F43B2 |
|---|---|
| RGB | rgb(31, 67, 178) |
| HSL | hsl(225, 70%, 41%) |
| HSV | hsv(225, 83%, 70%) |
| CMYK | cmyk(82.6%, 62.4%, 0%, 30.2%) |
| CIE-LAB | lab(32.96, 29.68, -62.33) |
| CIE-LCH | lch(32.96, 69.03, 295.46°) |
| OKLab | oklab(43.33% -0.0147 -0.1804) |
| OKLCH | oklch(43.33% 0.181 265.4) |
| XYZ | xyz(10.6053, 7.5187, 43.0032) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.06
Blue Blue
#2242C7
ΔE00 3.07
Sapphire (survey)
#2138AB
ΔE00 3.47
Sapphire
#0F52BA
ΔE00 5.39
Blue (survey)
#0343DF
ΔE00 5.69
Cobalt (survey)
#1E488F
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F43B2 #B28E1F
analogous
#1F8CB2 #1F43B2 #441FB2
triadic
#1F43B2 #B21F43 #43B21F
tetradic
#1F43B2 #B21F8C #B28E1F #1FB244
square
#1F43B2 #B21F8C #B28E1F #1FB244
split-complementary
#1F43B2 #B2441F #8CB21F
monochromatic
#0D1C4A #162F7E #1F43B2 #335CDB #6786E5
Accessibility & contrast
On white
8.39
#1F43B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#1F43B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F43B2
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F43B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F43B2 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f43b2; /* rgb */ color: rgb(31, 67, 178); /* oklch */ color: oklch(43.3% 0.181 265.4);
Tailwind
colors: {
custom: {
50: '#7576ca',
500: '#1f43b2',
950: '#000000',
},
}SCSS
$custom: #1f43b2; $custom-light: #7576ca; $custom-dark: #000000;
JSON
{
"hex": "#1f43b2",
"rgb": {
"r": 31,
"g": 67,
"b": 178
},
"hsl": {
"h": 225.306,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.43328,
"c": 0.18098,
"h": 265.4
},
"luminance": 0.0752
}Semantic roles & 50–950 ramp
primary
#1F43B2
secondary
#CAB163
accent
#C13BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82