#1B57AD#1B57AD

#1B57AD is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.151 H 258.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#1B57AD
RGBrgb(27, 87, 173)
HSLhsl(215, 73%, 39%)
HSVhsv(215, 84%, 68%)
CMYKcmyk(84.4%, 49.7%, 0%, 32.2%)
CIE-LABlab(37.96, 14.00, -51.24)
CIE-LCHlch(37.96, 53.12, 285.28°)
OKLaboklab(46.95% -0.0303 -0.1475)
OKLCHoklch(46.95% 0.151 258.4)
XYZxyz(11.4002, 10.0651, 40.8690)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B57AD #AD711B
analogous
#1BA0AD #1B57AD #281BAD
triadic
#1B57AD #AD1B57 #57AD1B
tetradic
#1B57AD #AD1BA0 #AD711B #1BAD28
square
#1B57AD #AD1BA0 #AD711B #1BAD28
split-complementary
#1B57AD #AD281B #A0AD1B
monochromatic
#0A2243 #133C78 #1B57AD #2872DD #5D95E6

Accessibility & contrast

On white

6.97
#1B57AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#1B57AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B57AD
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B57AD#FFFFFF#000000##FFFFFF
##1B57AD1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260B0
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #1b57ad;
/* rgb */ color: rgb(27, 87, 173);
/* oklch */ color: oklch(47.0% 0.151 258.4);
Tailwind
colors: {
  custom: {
    50: '#7285c6',
    500: '#1b57ad',
    950: '#000000',
  },
}
SCSS
$custom: #1b57ad;
$custom-light: #7285c6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b57ad",
  "rgb": {
    "r": 27,
    "g": 87,
    "b": 173
  },
  "hsl": {
    "h": 215.342,
    "s": 73,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.15058,
    "h": 258.4
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#1B57AD
secondary
#CA9C5A
accent
#A438F0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B13
muted
#7B7C82

Preview Lab

Preview with #1B57AD

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

Preview Lab → · Contrast checker → · Palette generator →

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