#1B57AC#1B57AC
#1B57AC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.149 H 258.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1B57AC |
|---|---|
| RGB | rgb(27, 87, 172) |
| HSL | hsl(215, 73%, 39%) |
| HSV | hsv(215, 84%, 67%) |
| CMYK | cmyk(84.3%, 49.4%, 0%, 32.5%) |
| CIE-LAB | lab(37.89, 13.60, -50.76) |
| CIE-LCH | lch(37.89, 52.55, 285.00°) |
| OKLab | oklab(46.88% -0.0305 -0.1461) |
| OKLCH | oklch(46.88% 0.149 258.2) |
| XYZ | xyz(11.3038, 10.0266, 40.3613) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.67
Denim
#1560BD
ΔE00 3.56
Dusk Blue
#26538D
ΔE00 3.78
Denim Blue
#3B5B92
ΔE00 4.18
Light Navy Blue
#2E5A88
ΔE00 4.33
Cobalt
#0047AB
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1B57AC #AC701B
analogous
#1BA0AC #1B57AC #271BAC
triadic
#1B57AC #AC1B57 #57AC1B
tetradic
#1B57AC #AC1BA0 #AC701B #1BAC27
square
#1B57AC #AC1BA0 #AC701B #1BAC27
split-complementary
#1B57AC #AC271B #A0AC1B
monochromatic
#0A2142 #133C77 #1B57AC #2772DD #5C95E5
Accessibility & contrast
On white
6.99
#1B57AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#1B57AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1B57AC
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1B57AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1B57AC | 1.00 | 6.99 | 3.01 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #1b57ac; /* rgb */ color: rgb(27, 87, 172); /* oklch */ color: oklch(46.9% 0.149 258.2);
Tailwind
colors: {
custom: {
50: '#7285c5',
500: '#1b57ac',
950: '#000000',
},
}SCSS
$custom: #1b57ac; $custom-light: #7285c5; $custom-dark: #000000;
JSON
{
"hex": "#1b57ac",
"rgb": {
"r": 27,
"g": 87,
"b": 172
},
"hsl": {
"h": 215.172,
"s": 72.864,
"l": 39.02
},
"oklch": {
"l": 0.46877,
"c": 0.14922,
"h": 258.2
},
"luminance": 0.10028
}Semantic roles & 50–950 ramp
primary
#1B57AC
secondary
#C99B5A
accent
#A438F0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82