#1B4EC3#1B4EC3
#1B4EC3 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.191 H 263.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1B4EC3 |
|---|---|
| RGB | rgb(27, 78, 195) |
| HSL | hsl(222, 76%, 44%) |
| HSV | hsv(222, 86%, 76%) |
| CMYK | cmyk(86.2%, 60%, 0%, 23.5%) |
| CIE-LAB | lab(37.15, 28.66, -65.48) |
| CIE-LCH | lch(37.15, 71.48, 293.64°) |
| OKLab | oklab(46.87% -0.0226 -0.1895) |
| OKLCH | oklch(46.87% 0.191 263.2) |
| XYZ | xyz(13.0232, 9.6203, 52.7897) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.51
Cobalt
#0047AB
ΔE00 4.08
Blue Blue
#2242C7
ΔE00 4.13
Blue (survey)
#0343DF
ΔE00 4.94
Warm Blue
#4B57DB
ΔE00 6.53
Denim
#1560BD
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B4EC3 #C3901B
analogous
#1BA2C3 #1B4EC3 #3C1BC3
triadic
#1B4EC3 #C31B4E #4EC31B
tetradic
#1B4EC3 #C31BA2 #C3901B #1BC33C
square
#1B4EC3 #C31BA2 #C3901B #1BC33C
split-complementary
#1B4EC3 #C33C1B #A2C31B
monochromatic
#0C2357 #14388D #1B4EC3 #386CE3 #6E94EB
Accessibility & contrast
On white
7.18
#1B4EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#1B4EC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B4EC3
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B4EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B4EC3 | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #1b4ec3; /* rgb */ color: rgb(27, 78, 195); /* oklch */ color: oklch(46.9% 0.191 263.2);
Tailwind
colors: {
custom: {
50: '#787fd6',
500: '#1b4ec3',
950: '#000000',
},
}SCSS
$custom: #1b4ec3; $custom-light: #787fd6; $custom-dark: #000000;
JSON
{
"hex": "#1b4ec3",
"rgb": {
"r": 27,
"g": 78,
"b": 195
},
"hsl": {
"h": 221.786,
"s": 75.676,
"l": 43.529
},
"oklch": {
"l": 0.46867,
"c": 0.19087,
"h": 263.2
},
"luminance": 0.09622
}Semantic roles & 50–950 ramp
primary
#1B4EC3
secondary
#D1B169
accent
#B936F2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83