#1F48B2#1F48B2
#1F48B2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.175 H 264.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1F48B2 |
|---|---|
| RGB | rgb(31, 72, 178) |
| HSL | hsl(223, 70%, 41%) |
| HSV | hsv(223, 83%, 70%) |
| CMYK | cmyk(82.6%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(34.27, 26.35, -60.18) |
| CIE-LCH | lch(34.27, 65.70, 293.65°) |
| OKLab | oklab(44.31% -0.0175 -0.174) |
| OKLCH | oklch(44.31% 0.175 264.3) |
| XYZ | xyz(10.9155, 8.1391, 43.1065) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.13
Sapphire
#0F52BA
ΔE00 3.77
Blue Blue
#2242C7
ΔE00 3.87
Sapphire (survey)
#2138AB
ΔE00 5.12
Cobalt (survey)
#1E488F
ΔE00 5.16
Blue (survey)
#0343DF
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F48B2 #B2891F
analogous
#1F91B2 #1F48B2 #3F1FB2
triadic
#1F48B2 #B21F48 #48B21F
tetradic
#1F48B2 #B21F91 #B2891F #1FB23F
square
#1F48B2 #B21F91 #B2891F #1FB23F
split-complementary
#1F48B2 #B23F1F #91B21F
monochromatic
#0D1E4A #16337E #1F48B2 #3362DB #678AE5
Accessibility & contrast
On white
7.99
#1F48B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#1F48B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F48B2
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F48B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F48B2 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1f48b2; /* rgb */ color: rgb(31, 72, 178); /* oklch */ color: oklch(44.3% 0.175 264.3);
Tailwind
colors: {
custom: {
50: '#757aca',
500: '#1f48b2',
950: '#000000',
},
}SCSS
$custom: #1f48b2; $custom-light: #757aca; $custom-dark: #000000;
JSON
{
"hex": "#1f48b2",
"rgb": {
"r": 31,
"g": 72,
"b": 178
},
"hsl": {
"h": 223.265,
"s": 70.335,
"l": 40.98
},
"oklch": {
"l": 0.44305,
"c": 0.17491,
"h": 264.3
},
"luminance": 0.0814
}Semantic roles & 50–950 ramp
primary
#1F48B2
secondary
#CAAD63
accent
#BB3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82