#1F48A6#1F48A6
#1F48A6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.159 H 263.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1F48A6 |
|---|---|
| RGB | rgb(31, 72, 166) |
| HSL | hsl(222, 69%, 39%) |
| HSV | hsv(222, 81%, 65%) |
| CMYK | cmyk(81.3%, 56.6%, 0%, 34.9%) |
| CIE-LAB | lab(33.30, 21.65, -54.61) |
| CIE-LCH | lch(33.30, 58.74, 291.63°) |
| OKLab | oklab(43.28% -0.0182 -0.1577) |
| OKLCH | oklch(43.28% 0.159 263.4) |
| XYZ | xyz(9.7629, 7.6780, 37.0365) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.42
Cobalt (survey)
#1E488F
ΔE00 3.45
Sapphire
#0F52BA
ΔE00 4.10
Blue Blue
#2242C7
ΔE00 5.51
Dusk Blue
#26538D
ΔE00 5.58
Sapphire (survey)
#2138AB
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F48A6 #A67D1F
analogous
#1F8BA6 #1F48A6 #391FA6
triadic
#1F48A6 #A61F48 #48A61F
tetradic
#1F48A6 #A61F8B #A67D1F #1FA639
square
#1F48A6 #A61F8B #A67D1F #1FA639
split-complementary
#1F48A6 #A6391F #8BA61F
monochromatic
#0C1B3F #153272 #1F48A6 #2B5FD7 #5E86E1
Accessibility & contrast
On white
8.28
#1F48A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#1F48A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F48A6
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F48A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F48A6 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1f48a6; /* rgb */ color: rgb(31, 72, 166); /* oklch */ color: oklch(43.3% 0.159 263.4);
Tailwind
colors: {
custom: {
50: '#727ac1',
500: '#1f48a6',
950: '#000000',
},
}SCSS
$custom: #1f48a6; $custom-light: #727ac1; $custom-dark: #000000;
JSON
{
"hex": "#1f48a6",
"rgb": {
"r": 31,
"g": 72,
"b": 166
},
"hsl": {
"h": 221.778,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.43276,
"c": 0.1587,
"h": 263.4
},
"luminance": 0.07679
}Semantic roles & 50–950 ramp
primary
#1F48A6
secondary
#C5A55B
accent
#B63CEB
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81