#1F49B4#1F49B4
#1F49B4 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.176 H 264.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1F49B4 |
|---|---|
| RGB | rgb(31, 73, 180) |
| HSL | hsl(223, 71%, 41%) |
| HSV | hsv(223, 83%, 71%) |
| CMYK | cmyk(82.8%, 59.4%, 0%, 29.4%) |
| CIE-LAB | lab(34.70, 26.46, -60.66) |
| CIE-LCH | lch(34.70, 66.18, 293.57°) |
| OKLab | oklab(44.68% -0.018 -0.1754) |
| OKLCH | oklch(44.68% 0.176 264.1) |
| XYZ | xyz(11.1829, 8.3503, 44.1935) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.28
Sapphire
#0F52BA
ΔE00 3.45
Blue Blue
#2242C7
ΔE00 3.85
Cobalt (survey)
#1E488F
ΔE00 5.35
Sapphire (survey)
#2138AB
ΔE00 5.43
Blue (survey)
#0343DF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F49B4 #B48A1F
analogous
#1F94B4 #1F49B4 #401FB4
triadic
#1F49B4 #B41F49 #49B41F
tetradic
#1F49B4 #B41F94 #B48A1F #1FB440
square
#1F49B4 #B41F94 #B48A1F #1FB440
split-complementary
#1F49B4 #B4401F #94B41F
monochromatic
#0D1F4C #163480 #1F49B4 #3463DC #688CE5
Accessibility & contrast
On white
7.86
#1F49B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#1F49B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F49B4
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F49B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F49B4 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1f49b4; /* rgb */ color: rgb(31, 73, 180); /* oklch */ color: oklch(44.7% 0.176 264.1);
Tailwind
colors: {
custom: {
50: '#757bcb',
500: '#1f49b4',
950: '#000000',
},
}SCSS
$custom: #1f49b4; $custom-light: #757bcb; $custom-dark: #000000;
JSON
{
"hex": "#1f49b4",
"rgb": {
"r": 31,
"g": 73,
"b": 180
},
"hsl": {
"h": 223.087,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.44679,
"c": 0.17636,
"h": 264.1
},
"luminance": 0.08352
}Semantic roles & 50–950 ramp
primary
#1F49B4
secondary
#CBAE64
accent
#BB3AED
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82