#1B45B3#1B45B3
#1B45B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.181 H 264.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1B45B3 |
|---|---|
| RGB | rgb(27, 69, 179) |
| HSL | hsl(223, 74%, 40%) |
| HSV | hsv(223, 85%, 70%) |
| CMYK | cmyk(84.9%, 61.5%, 0%, 29.8%) |
| CIE-LAB | lab(33.44, 28.42, -62.14) |
| CIE-LCH | lch(33.44, 68.33, 294.58°) |
| OKLab | oklab(43.68% -0.0184 -0.1799) |
| OKLCH | oklch(43.68% 0.181 264.2) |
| XYZ | xyz(10.7139, 7.7426, 43.5689) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.45
Blue Blue
#2242C7
ΔE00 3.33
Sapphire (survey)
#2138AB
ΔE00 4.22
Sapphire
#0F52BA
ΔE00 4.62
Cobalt (survey)
#1E488F
ΔE00 5.55
Blue (survey)
#0343DF
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B45B3 #B3891B
analogous
#1B91B3 #1B45B3 #3D1BB3
triadic
#1B45B3 #B31B45 #45B31B
tetradic
#1B45B3 #B31B91 #B3891B #1BB33D
square
#1B45B3 #B31B91 #B3891B #1BB33D
split-complementary
#1B45B3 #B33D1B #91B31B
monochromatic
#0B1C49 #13317E #1B45B3 #2C5EDF #6186E7
Accessibility & contrast
On white
8.24
#1B45B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#1B45B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B45B3
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B45B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B45B3 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1b45b3; /* rgb */ color: rgb(27, 69, 179); /* oklch */ color: oklch(43.7% 0.181 264.2);
Tailwind
colors: {
custom: {
50: '#7578cb',
500: '#1b45b3',
950: '#000000',
},
}SCSS
$custom: #1b45b3; $custom-light: #7578cb; $custom-dark: #000000;
JSON
{
"hex": "#1b45b3",
"rgb": {
"r": 27,
"g": 69,
"b": 179
},
"hsl": {
"h": 223.421,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.43677,
"c": 0.1808,
"h": 264.2
},
"luminance": 0.07744
}Semantic roles & 50–950 ramp
primary
#1B45B3
secondary
#CCAD5E
accent
#BD37F0
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0813
muted
#7C7B82