#1B51AA#1B51AA
#1B51AA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.154 H 260.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).
Color values
| HEX | #1B51AA |
|---|---|
| RGB | rgb(27, 81, 170) |
| HSL | hsl(217, 73%, 39%) |
| HSV | hsv(217, 84%, 67%) |
| CMYK | cmyk(84.1%, 52.4%, 0%, 33.3%) |
| CIE-LAB | lab(36.02, 16.80, -52.59) |
| CIE-LCH | lch(36.02, 55.21, 287.72°) |
| OKLab | oklab(45.4% -0.0264 -0.1516) |
| OKLCH | oklch(45.4% 0.154 260.1) |
| XYZ | xyz(10.6475, 9.0188, 39.2020) |
| Luminance | 0.0902 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.99
Cobalt
#0047AB
ΔE00 3.26
Dusk Blue
#26538D
ΔE00 3.76
Cobalt (survey)
#1E488F
ΔE00 4.28
Denim Blue
#3B5B92
ΔE00 4.86
Light Navy Blue
#2E5A88
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B51AA #AA741B
analogous
#1B98AA #1B51AA #2D1BAA
triadic
#1B51AA #AA1B51 #51AA1B
tetradic
#1B51AA #AA1B98 #AA741B #1BAA2D
square
#1B51AA #AA1B98 #AA741B #1BAA2D
split-complementary
#1B51AA #AA2D1B #98AA1B
monochromatic
#0A1F40 #133875 #1B51AA #266BDC #5B8FE5
Accessibility & contrast
On white
7.49
#1B51AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#1B51AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1B51AA
7.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B51AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B51AA | 1.00 | 7.49 | 2.80 | 7.49 |
| #FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#125CAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #1b51aa; /* rgb */ color: rgb(27, 81, 170); /* oklch */ color: oklch(45.4% 0.154 260.1);
Tailwind
colors: {
custom: {
50: '#7181c4',
500: '#1b51aa',
950: '#000000',
},
}SCSS
$custom: #1b51aa; $custom-light: #7181c4; $custom-dark: #000000;
JSON
{
"hex": "#1b51aa",
"rgb": {
"r": 27,
"g": 81,
"b": 170
},
"hsl": {
"h": 217.343,
"s": 72.589,
"l": 38.627
},
"oklch": {
"l": 0.454,
"c": 0.1539,
"h": 260.1
},
"luminance": 0.0902
}Semantic roles & 50–950 ramp
primary
#1B51AA
secondary
#C99E58
accent
#AA39EF
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A13
muted
#7B7C82