#1F54C3#1F54C3
#1F54C3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.183 H 262.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #1F54C3 |
|---|---|
| RGB | rgb(31, 84, 195) |
| HSL | hsl(221, 73%, 44%) |
| HSV | hsv(221, 84%, 76%) |
| CMYK | cmyk(84.1%, 56.9%, 0%, 23.5%) |
| CIE-LAB | lab(38.85, 24.99, -62.71) |
| CIE-LCH | lch(38.85, 67.50, 291.73°) |
| OKLab | oklab(48.17% -0.0238 -0.1812) |
| OKLCH | oklch(48.17% 0.183 262.5) |
| XYZ | xyz(13.5822, 10.5704, 52.9436) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.79
Denim
#1560BD
ΔE00 4.98
Cobalt
#0047AB
ΔE00 5.12
Azul
#1D5DEC
ΔE00 5.92
Blue Blue
#2242C7
ΔE00 6.05
Warm Blue
#4B57DB
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F54C3 #C38E1F
analogous
#1FA6C3 #1F54C3 #3C1FC3
triadic
#1F54C3 #C31F54 #54C31F
tetradic
#1F54C3 #C31FA6 #C38E1F #1FC33C
square
#1F54C3 #C31FA6 #C38E1F #1FC33C
split-complementary
#1F54C3 #C33C1F #A6C31F
monochromatic
#0E2759 #173D8E #1F54C3 #3F73E0 #7499E9
Accessibility & contrast
On white
6.74
#1F54C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#1F54C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F54C3
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F54C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F54C3 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1f54c3; /* rgb */ color: rgb(31, 84, 195); /* oklch */ color: oklch(48.2% 0.183 262.5);
Tailwind
colors: {
custom: {
50: '#7983d6',
500: '#1f54c3',
950: '#000000',
},
}SCSS
$custom: #1f54c3; $custom-light: #7983d6; $custom-dark: #000000;
JSON
{
"hex": "#1f54c3",
"rgb": {
"r": 31,
"g": 84,
"b": 195
},
"hsl": {
"h": 220.61,
"s": 72.566,
"l": 44.314
},
"oklch": {
"l": 0.4817,
"c": 0.18279,
"h": 262.5
},
"luminance": 0.10572
}Semantic roles & 50–950 ramp
primary
#1F54C3
secondary
#D0B06E
accent
#B439EF
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83