#1B56AA#1B56AA

#1B56AA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.148 H 258.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#1B56AA
RGBrgb(27, 86, 170)
HSLhsl(215, 73%, 39%)
HSVhsv(215, 84%, 67%)
CMYKcmyk(84.1%, 49.4%, 0%, 33.3%)
CIE-LABlab(37.46, 13.46, -50.26)
CIE-LCHlch(37.46, 52.03, 285.00°)
OKLaboklab(46.5% -0.03 -0.1446)
OKLCHoklch(46.5% 0.148 258.3)
XYZxyz(11.0328, 9.7895, 39.3305)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B56AA #AA6F1B
analogous
#1B9DAA #1B56AA #271BAA
triadic
#1B56AA #AA1B56 #56AA1B
tetradic
#1B56AA #AA1B9D #AA6F1B #1BAA27
square
#1B56AA #AA1B9D #AA6F1B #1BAA27
split-complementary
#1B56AA #AA271B #9DAA1B
monochromatic
#0A2140 #133B75 #1B56AA #2671DC #5B94E5

Accessibility & contrast

On white

7.10
#1B56AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#1B56AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B56AA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B56AA#FFFFFF#000000##FFFFFF
##1B56AA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #1b56aa;
/* rgb */ color: rgb(27, 86, 170);
/* oklch */ color: oklch(46.5% 0.148 258.3);
Tailwind
colors: {
  custom: {
    50: '#7185c4',
    500: '#1b56aa',
    950: '#000000',
  },
}
SCSS
$custom: #1b56aa;
$custom-light: #7185c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b56aa",
  "rgb": {
    "r": 27,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 215.245,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46504,
    "c": 0.14774,
    "h": 258.3
  },
  "luminance": 0.09791
}

Semantic roles & 50–950 ramp

primary
#1B56AA
secondary
#C99A58
accent
#A439EF
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1B56AA

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

Preview Lab → · Contrast checker → · Palette generator →

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