#1B46A7#1B46A7
#1B46A7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.164 H 263.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #1B46A7 |
|---|---|
| RGB | rgb(27, 70, 167) |
| HSL | hsl(222, 72%, 38%) |
| HSV | hsv(222, 84%, 65%) |
| CMYK | cmyk(83.8%, 58.1%, 0%, 34.5%) |
| CIE-LAB | lab(32.71, 23.03, -56.18) |
| CIE-LCH | lch(32.71, 60.72, 292.29°) |
| OKLab | oklab(42.82% -0.0194 -0.1624) |
| OKLCH | oklch(42.82% 0.164 263.2) |
| XYZ | xyz(9.6147, 7.4022, 37.4737) |
| Luminance | 0.0740 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.36
Cobalt (survey)
#1E488F
ΔE00 3.72
Sapphire
#0F52BA
ΔE00 4.52
Sapphire (survey)
#2138AB
ΔE00 5.01
Blue Blue
#2242C7
ΔE00 5.19
Darkish Blue
#014182
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B46A7 #A77C1B
analogous
#1B8CA7 #1B46A7 #361BA7
triadic
#1B46A7 #A71B46 #46A71B
tetradic
#1B46A7 #A71B8C #A77C1B #1BA736
square
#1B46A7 #A71B8C #A77C1B #1BA736
split-complementary
#1B46A7 #A7361B #8CA71B
monochromatic
#0A1A3E #123072 #1B46A7 #245CDC #5883E4
Accessibility & contrast
On white
8.47
#1B46A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#1B46A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B46A7
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B46A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B46A7 | 1.00 | 8.47 | 2.48 | 8.47 |
| #FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1b46a7; /* rgb */ color: rgb(27, 70, 167); /* oklch */ color: oklch(42.8% 0.164 263.2);
Tailwind
colors: {
custom: {
50: '#7178c2',
500: '#1b46a7',
950: '#000000',
},
}SCSS
$custom: #1b46a7; $custom-light: #7178c2; $custom-dark: #000000;
JSON
{
"hex": "#1b46a7",
"rgb": {
"r": 27,
"g": 70,
"b": 167
},
"hsl": {
"h": 221.571,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.42815,
"c": 0.16355,
"h": 263.2
},
"luminance": 0.07403
}Semantic roles & 50–950 ramp
primary
#1B46A7
secondary
#C8A556
accent
#B739EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090912
muted
#7B7B81