#1F48A4#1F48A4
#1F48A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.156 H 263.3°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1F48A4 |
|---|---|
| RGB | rgb(31, 72, 164) |
| HSL | hsl(222, 68%, 38%) |
| HSV | hsv(222, 81%, 64%) |
| CMYK | cmyk(81.1%, 56.1%, 0%, 35.7%) |
| CIE-LAB | lab(33.15, 20.86, -53.66) |
| CIE-LCH | lch(33.15, 57.57, 291.24°) |
| OKLab | oklab(43.11% -0.0183 -0.1549) |
| OKLCH | oklch(43.11% 0.156 263.3) |
| XYZ | xyz(9.5809, 7.6052, 36.0778) |
| Luminance | 0.0761 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.48
Cobalt (survey)
#1E488F
ΔE00 3.16
Sapphire
#0F52BA
ΔE00 4.21
Dusk Blue
#26538D
ΔE00 5.39
Darkish Blue
#014182
ΔE00 5.70
Sapphire (survey)
#2138AB
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F48A4 #A47B1F
analogous
#1F8AA4 #1F48A4 #391FA4
triadic
#1F48A4 #A41F48 #48A41F
tetradic
#1F48A4 #A41F8A #A47B1F #1FA439
square
#1F48A4 #A41F8A #A47B1F #1FA439
split-complementary
#1F48A4 #A4391F #8AA41F
monochromatic
#0C1B3D #153171 #1F48A4 #2A5FD7 #5D86E0
Accessibility & contrast
On white
8.33
#1F48A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#1F48A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F48A4
8.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F48A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F48A4 | 1.00 | 8.33 | 2.52 | 8.33 |
| #FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f48a4; /* rgb */ color: rgb(31, 72, 164); /* oklch */ color: oklch(43.1% 0.156 263.3);
Tailwind
colors: {
custom: {
50: '#717ac0',
500: '#1f48a4',
950: '#000000',
},
}SCSS
$custom: #1f48a4; $custom-light: #717ac0; $custom-dark: #000000;
JSON
{
"hex": "#1f48a4",
"rgb": {
"r": 31,
"g": 72,
"b": 164
},
"hsl": {
"h": 221.504,
"s": 68.205,
"l": 38.235
},
"oklch": {
"l": 0.43109,
"c": 0.15596,
"h": 263.3
},
"luminance": 0.07606
}Semantic roles & 50–950 ramp
primary
#1F48A4
secondary
#C5A45A
accent
#B53DEB
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81