#1F48A1#1F48A1
#1F48A1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.9% C 0.152 H 263.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1F48A1 |
|---|---|
| RGB | rgb(31, 72, 161) |
| HSL | hsl(221, 68%, 38%) |
| HSV | hsv(221, 81%, 63%) |
| CMYK | cmyk(80.7%, 55.3%, 0%, 36.9%) |
| CIE-LAB | lab(32.91, 19.67, -52.23) |
| CIE-LCH | lch(32.91, 55.81, 290.64°) |
| OKLab | oklab(42.86% -0.0186 -0.1507) |
| OKLCH | oklch(42.86% 0.152 263) |
| XYZ | xyz(9.3132, 7.4981, 34.6677) |
| Luminance | 0.0750 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.66
Cobalt (survey)
#1E488F
ΔE00 2.72
Sapphire
#0F52BA
ΔE00 4.41
Dusk Blue
#26538D
ΔE00 5.12
Darkish Blue
#014182
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F48A1 #A1781F
analogous
#1F89A1 #1F48A1 #371FA1
triadic
#1F48A1 #A11F48 #48A11F
tetradic
#1F48A1 #A11F89 #A1781F #1FA137
square
#1F48A1 #A11F89 #A1781F #1FA137
split-complementary
#1F48A1 #A1371F #89A11F
monochromatic
#0B1A3A #15316E #1F48A1 #295FD4 #5B85DF
Accessibility & contrast
On white
8.40
#1F48A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#1F48A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F48A1
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F48A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F48A1 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1f48a1; /* rgb */ color: rgb(31, 72, 161); /* oklch */ color: oklch(42.9% 0.152 263.0);
Tailwind
colors: {
custom: {
50: '#717abd',
500: '#1f48a1',
950: '#000000',
},
}SCSS
$custom: #1f48a1; $custom-light: #717abd; $custom-dark: #000000;
JSON
{
"hex": "#1f48a1",
"rgb": {
"r": 31,
"g": 72,
"b": 161
},
"hsl": {
"h": 221.077,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.4286,
"c": 0.15183,
"h": 263
},
"luminance": 0.07499
}Semantic roles & 50–950 ramp
primary
#1F48A1
secondary
#C4A258
accent
#B43DEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81