#1F54C2#1F54C2
#1F54C2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.181 H 262.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1F54C2 |
|---|---|
| RGB | rgb(31, 84, 194) |
| HSL | hsl(220, 72%, 44%) |
| HSV | hsv(220, 84%, 76%) |
| CMYK | cmyk(84%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(38.77, 24.61, -62.25) |
| CIE-LCH | lch(38.77, 66.94, 291.57°) |
| OKLab | oklab(48.09% -0.0238 -0.1799) |
| OKLCH | oklch(48.09% 0.181 262.5) |
| XYZ | xyz(13.4695, 10.5253, 52.3502) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.67
Denim
#1560BD
ΔE00 4.93
Cobalt
#0047AB
ΔE00 5.04
Azul
#1D5DEC
ΔE00 6.04
Blue Blue
#2242C7
ΔE00 6.10
Warm Blue
#4B57DB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F54C2 #C28D1F
analogous
#1FA6C2 #1F54C2 #3C1FC2
triadic
#1F54C2 #C21F54 #54C21F
tetradic
#1F54C2 #C21FA6 #C28D1F #1FC23C
square
#1F54C2 #C21FA6 #C28D1F #1FC23C
split-complementary
#1F54C2 #C23C1F #A6C21F
monochromatic
#0E2658 #173D8D #1F54C2 #3E73E0 #7399E9
Accessibility & contrast
On white
6.76
#1F54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#1F54C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F54C2
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F54C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F54C2 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1f54c2; /* rgb */ color: rgb(31, 84, 194); /* oklch */ color: oklch(48.1% 0.181 262.5);
Tailwind
colors: {
custom: {
50: '#7883d5',
500: '#1f54c2',
950: '#000000',
},
}SCSS
$custom: #1f54c2; $custom-light: #7883d5; $custom-dark: #000000;
JSON
{
"hex": "#1f54c2",
"rgb": {
"r": 31,
"g": 84,
"b": 194
},
"hsl": {
"h": 220.491,
"s": 72.444,
"l": 44.118
},
"oklch": {
"l": 0.48086,
"c": 0.18147,
"h": 262.5
},
"luminance": 0.10527
}Semantic roles & 50–950 ramp
primary
#1F54C2
secondary
#CFB06D
accent
#B439EF
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83