#1B45A7#1B45A7
#1B45A7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.165 H 263.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1B45A7 |
|---|---|
| RGB | rgb(27, 69, 167) |
| HSL | hsl(222, 72%, 38%) |
| HSV | hsv(222, 84%, 65%) |
| CMYK | cmyk(83.8%, 58.7%, 0%, 34.5%) |
| CIE-LAB | lab(32.43, 23.71, -56.63) |
| CIE-LCH | lch(32.43, 61.39, 292.72°) |
| OKLab | oklab(42.61% -0.0188 -0.1637) |
| OKLCH | oklch(42.61% 0.165 263.4) |
| XYZ | xyz(9.5527, 7.2781, 37.4531) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 1.58
Cobalt (survey)
#1E488F
ΔE00 3.91
Sapphire (survey)
#2138AB
ΔE00 4.66
Sapphire
#0F52BA
ΔE00 4.81
Blue Blue
#2242C7
ΔE00 5.04
Darkish Blue
#014182
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B45A7 #A77D1B
analogous
#1B8BA7 #1B45A7 #371BA7
triadic
#1B45A7 #A71B45 #45A71B
tetradic
#1B45A7 #A71B8B #A77D1B #1BA737
square
#1B45A7 #A71B8B #A77D1B #1BA737
split-complementary
#1B45A7 #A7371B #8BA71B
monochromatic
#0A193E #122F72 #1B45A7 #245BDC #5882E4
Accessibility & contrast
On white
8.55
#1B45A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#1B45A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B45A7
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B45A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B45A7 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1b45a7; /* rgb */ color: rgb(27, 69, 167); /* oklch */ color: oklch(42.6% 0.165 263.4);
Tailwind
colors: {
custom: {
50: '#7178c2',
500: '#1b45a7',
950: '#000000',
},
}SCSS
$custom: #1b45a7; $custom-light: #7178c2; $custom-dark: #000000;
JSON
{
"hex": "#1b45a7",
"rgb": {
"r": 27,
"g": 69,
"b": 167
},
"hsl": {
"h": 222,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.42609,
"c": 0.1648,
"h": 263.4
},
"luminance": 0.07279
}Semantic roles & 50–950 ramp
primary
#1B45A7
secondary
#C8A656
accent
#B839EF
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090812
muted
#7B7B81