#1F49A7#1F49A7
#1F49A7 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.159 H 263.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1F49A7 |
|---|---|
| RGB | rgb(31, 73, 167) |
| HSL | hsl(221, 69%, 39%) |
| HSV | hsv(221, 81%, 65%) |
| CMYK | cmyk(81.4%, 56.3%, 0%, 34.5%) |
| CIE-LAB | lab(33.66, 21.37, -54.63) |
| CIE-LCH | lch(33.66, 58.66, 291.36°) |
| OKLab | oklab(43.57% -0.0188 -0.1577) |
| OKLCH | oklch(43.57% 0.159 263.2) |
| XYZ | xyz(9.9202, 7.8452, 37.5432) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.41
Cobalt (survey)
#1E488F
ΔE00 3.49
Sapphire
#0F52BA
ΔE00 3.77
Dusk Blue
#26538D
ΔE00 5.39
Blue Blue
#2242C7
ΔE00 5.56
Sapphire (survey)
#2138AB
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F49A7 #A77D1F
analogous
#1F8DA7 #1F49A7 #391FA7
triadic
#1F49A7 #A71F49 #49A71F
tetradic
#1F49A7 #A71F8D #A77D1F #1FA739
square
#1F49A7 #A71F8D #A77D1F #1FA739
split-complementary
#1F49A7 #A7391F #8DA71F
monochromatic
#0C1C40 #153273 #1F49A7 #2B61D8 #5F87E1
Accessibility & contrast
On white
8.17
#1F49A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#1F49A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F49A7
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F49A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F49A7 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1f49a7; /* rgb */ color: rgb(31, 73, 167); /* oklch */ color: oklch(43.6% 0.159 263.2);
Tailwind
colors: {
custom: {
50: '#727bc2',
500: '#1f49a7',
950: '#000000',
},
}SCSS
$custom: #1f49a7; $custom-light: #727bc2; $custom-dark: #000000;
JSON
{
"hex": "#1f49a7",
"rgb": {
"r": 31,
"g": 73,
"b": 167
},
"hsl": {
"h": 221.471,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.43569,
"c": 0.15881,
"h": 263.2
},
"luminance": 0.07846
}Semantic roles & 50–950 ramp
primary
#1F49A7
secondary
#C6A55C
accent
#B53CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81