#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
RGBrgb(27, 87, 172)
HSLhsl(215, 73%, 39%)
HSVhsv(215, 84%, 67%)
CMYKcmyk(84.3%, 49.4%, 0%, 32.5%)
CIE-LABlab(37.89, 13.60, -50.76)
CIE-LCHlch(37.89, 52.55, 285.00°)
OKLaboklab(46.88% -0.0305 -0.1461)
OKLCHoklch(46.88% 0.149 258.2)
XYZxyz(11.3038, 10.0266, 40.3613)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##1B57AC1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.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

Preview Lab

Preview with #1B57AC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1B57AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva