#1C51AB#1C51AB
#1C51AB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.155 H 260.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #1C51AB |
|---|---|
| RGB | rgb(28, 81, 171) |
| HSL | hsl(218, 72%, 39%) |
| HSV | hsv(218, 84%, 67%) |
| CMYK | cmyk(83.6%, 52.6%, 0%, 32.9%) |
| CIE-LAB | lab(36.12, 17.29, -53.02) |
| CIE-LCH | lch(36.12, 55.77, 288.06°) |
| OKLab | oklab(45.51% -0.0258 -0.1529) |
| OKLCH | oklch(45.51% 0.155 260.4) |
| XYZ | xyz(10.7693, 9.0707, 39.7034) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.85
Cobalt
#0047AB
ΔE00 3.23
Dusk Blue
#26538D
ΔE00 3.92
Cobalt (survey)
#1E488F
ΔE00 4.38
Denim Blue
#3B5B92
ΔE00 4.91
Light Navy Blue
#2E5A88
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C51AB #AB761C
analogous
#1C99AB #1C51AB #2F1CAB
triadic
#1C51AB #AB1C51 #51AB1C
tetradic
#1C51AB #AB1C99 #AB761C #1CAB2F
square
#1C51AB #AB1C99 #AB761C #1CAB2F
split-complementary
#1C51AB #AB2F1C #99AB1C
monochromatic
#0B1F42 #133876 #1C51AB #286BDC #5D8FE4
Accessibility & contrast
On white
7.46
#1C51AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#1C51AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1C51AB
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C51AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C51AB | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5CAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #1c51ab; /* rgb */ color: rgb(28, 81, 171); /* oklch */ color: oklch(45.5% 0.155 260.4);
Tailwind
colors: {
custom: {
50: '#7281c5',
500: '#1c51ab',
950: '#000000',
},
}SCSS
$custom: #1c51ab; $custom-light: #7281c5; $custom-dark: #000000;
JSON
{
"hex": "#1c51ab",
"rgb": {
"r": 28,
"g": 81,
"b": 171
},
"hsl": {
"h": 217.762,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.45507,
"c": 0.15503,
"h": 260.4
},
"luminance": 0.09072
}Semantic roles & 50–950 ramp
primary
#1C51AB
secondary
#C9A05A
accent
#AB39EF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82