#1B45C5#1B45C5
#1B45C5 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.4% C 0.204 H 264.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #1B45C5 |
|---|---|
| RGB | rgb(27, 69, 197) |
| HSL | hsl(225, 76%, 44%) |
| HSV | hsv(225, 86%, 77%) |
| CMYK | cmyk(86.3%, 65%, 0%, 22.7%) |
| CIE-LAB | lab(35.04, 35.31, -70.10) |
| CIE-LCH | lch(35.04, 78.49, 296.73°) |
| OKLab | oklab(45.35% -0.0184 -0.2032) |
| OKLCH | oklch(45.35% 0.204 264.8) |
| XYZ | xyz(12.6546, 8.5189, 53.7898) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.22
Blue (survey)
#0343DF
ΔE00 3.23
Cobalt
#0047AB
ΔE00 4.62
Sapphire (survey)
#2138AB
ΔE00 4.96
Sapphire
#0F52BA
ΔE00 5.26
Ocean Blue
#4F42B5
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B45C5 #C59B1B
analogous
#1B9AC5 #1B45C5 #461BC5
triadic
#1B45C5 #C51B45 #45C51B
tetradic
#1B45C5 #C51B9A #C59B1B #1BC546
square
#1B45C5 #C51B9A #C59B1B #1BC546
split-complementary
#1B45C5 #C5461B #9AC51B
monochromatic
#0C1F59 #14328F #1B45C5 #3963E4 #6F8EEB
Accessibility & contrast
On white
7.77
#1B45C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#1B45C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B45C5
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B45C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B45C5 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1b45c5; /* rgb */ color: rgb(27, 69, 197); /* oklch */ color: oklch(45.4% 0.204 264.8);
Tailwind
colors: {
custom: {
50: '#7978d8',
500: '#1b45c5',
950: '#000000',
},
}SCSS
$custom: #1b45c5; $custom-light: #7978d8; $custom-dark: #000000;
JSON
{
"hex": "#1b45c5",
"rgb": {
"r": 27,
"g": 69,
"b": 197
},
"hsl": {
"h": 225.176,
"s": 75.893,
"l": 43.922
},
"oklch": {
"l": 0.45353,
"c": 0.204,
"h": 264.8
},
"luminance": 0.0852
}Semantic roles & 50–950 ramp
primary
#1B45C5
secondary
#D1B86A
accent
#C435F2
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0915
muted
#7C7B83