#1F48B4#1F48B4
#1F48B4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.178 H 264.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1F48B4 |
|---|---|
| RGB | rgb(31, 72, 180) |
| HSL | hsl(223, 71%, 41%) |
| HSV | hsv(223, 83%, 71%) |
| CMYK | cmyk(82.8%, 60%, 0%, 29.4%) |
| CIE-LAB | lab(34.44, 27.13, -61.10) |
| CIE-LCH | lch(34.44, 66.85, 293.94°) |
| OKLab | oklab(44.48% -0.0174 -0.1767) |
| OKLCH | oklch(44.48% 0.178 264.4) |
| XYZ | xyz(11.1177, 8.2200, 44.1718) |
| Luminance | 0.0822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.36
Blue Blue
#2242C7
ΔE00 3.62
Sapphire
#0F52BA
ΔE00 3.78
Sapphire (survey)
#2138AB
ΔE00 5.10
Cobalt (survey)
#1E488F
ΔE00 5.44
Blue (survey)
#0343DF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F48B4 #B48B1F
analogous
#1F93B4 #1F48B4 #411FB4
triadic
#1F48B4 #B41F48 #48B41F
tetradic
#1F48B4 #B41F93 #B48B1F #1FB441
square
#1F48B4 #B41F93 #B48B1F #1FB441
split-complementary
#1F48B4 #B4411F #93B41F
monochromatic
#0D1E4C #163380 #1F48B4 #3462DC #688BE5
Accessibility & contrast
On white
7.94
#1F48B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#1F48B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F48B4
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F48B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F48B4 | 1.00 | 7.94 | 2.64 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f48b4; /* rgb */ color: rgb(31, 72, 180); /* oklch */ color: oklch(44.5% 0.178 264.4);
Tailwind
colors: {
custom: {
50: '#767acb',
500: '#1f48b4',
950: '#000000',
},
}SCSS
$custom: #1f48b4; $custom-light: #767acb; $custom-dark: #000000;
JSON
{
"hex": "#1f48b4",
"rgb": {
"r": 31,
"g": 72,
"b": 180
},
"hsl": {
"h": 223.49,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.44481,
"c": 0.17757,
"h": 264.4
},
"luminance": 0.08221
}Semantic roles & 50–950 ramp
primary
#1F48B4
secondary
#CBAE64
accent
#BC3AED
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82