#1B46A8#1B46A8
#1B46A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.165 H 263.3°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1B46A8 |
|---|---|
| RGB | rgb(27, 70, 168) |
| HSL | hsl(222, 72%, 38%) |
| HSV | hsv(222, 84%, 66%) |
| CMYK | cmyk(83.9%, 58.3%, 0%, 34.1%) |
| CIE-LAB | lab(32.79, 23.43, -56.65) |
| CIE-LCH | lch(32.79, 61.30, 292.47°) |
| OKLab | oklab(42.9% -0.0194 -0.1638) |
| OKLCH | oklch(42.9% 0.165 263.3) |
| XYZ | xyz(9.7075, 7.4393, 37.9625) |
| Luminance | 0.0744 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.38
Cobalt (survey)
#1E488F
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 4.48
Sapphire (survey)
#2138AB
ΔE00 4.94
Blue Blue
#2242C7
ΔE00 5.04
Darkish Blue
#014182
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B46A8 #A87D1B
analogous
#1B8CA8 #1B46A8 #361BA8
triadic
#1B46A8 #A81B46 #46A81B
tetradic
#1B46A8 #A81B8C #A87D1B #1BA836
square
#1B46A8 #A81B8C #A87D1B #1BA836
split-complementary
#1B46A8 #A8361B #8CA81B
monochromatic
#0A1A3F #133073 #1B46A8 #245CDC #5984E4
Accessibility & contrast
On white
8.44
#1B46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#1B46A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B46A8
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B46A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B46A8 | 1.00 | 8.44 | 2.49 | 8.44 |
| #FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1b46a8; /* rgb */ color: rgb(27, 70, 168); /* oklch */ color: oklch(42.9% 0.165 263.3);
Tailwind
colors: {
custom: {
50: '#7278c3',
500: '#1b46a8',
950: '#000000',
},
}SCSS
$custom: #1b46a8; $custom-light: #7278c3; $custom-dark: #000000;
JSON
{
"hex": "#1b46a8",
"rgb": {
"r": 27,
"g": 70,
"b": 168
},
"hsl": {
"h": 221.702,
"s": 72.308,
"l": 38.235
},
"oklch": {
"l": 0.42901,
"c": 0.1649,
"h": 263.3
},
"luminance": 0.0744
}Semantic roles & 50–950 ramp
primary
#1B46A8
secondary
#C8A557
accent
#B739EF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090913
muted
#7B7B82