#1B56A6#1B56A6

#1B56A6 is a mid, vivid cyan. Relative luminance 0.096; OKLCH L 46.2% C 0.142 H 257.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#1B56A6
RGBrgb(27, 86, 166)
HSLhsl(215, 72%, 38%)
HSVhsv(215, 84%, 65%)
CMYKcmyk(83.7%, 48.2%, 0%, 34.9%)
CIE-LABlab(37.19, 11.86, -48.32)
CIE-LCHlch(37.19, 49.76, 283.79°)
OKLaboklab(46.21% -0.0307 -0.1389)
OKLCHoklch(46.21% 0.142 257.5)
XYZxyz(10.6602, 9.6404, 37.3679)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B56A6 #A66B1B
analogous
#1B9CA6 #1B56A6 #251BA6
triadic
#1B56A6 #A61B56 #56A61B
tetradic
#1B56A6 #A61B9C #A66B1B #1BA625
square
#1B56A6 #A61B9C #A66B1B #1BA625
split-complementary
#1B56A6 #A6251B #9CA61B
monochromatic
#0A1F3D #123B71 #1B56A6 #2471DB #5893E4

Accessibility & contrast

On white

7.17
#1B56A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#1B56A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B56A6
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B56A6#FFFFFF#000000##FFFFFF
##1B56A61.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EA9
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#006976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #1b56a6;
/* rgb */ color: rgb(27, 86, 166);
/* oklch */ color: oklch(46.2% 0.142 257.5);
Tailwind
colors: {
  custom: {
    50: '#7085c1',
    500: '#1b56a6',
    950: '#000000',
  },
}
SCSS
$custom: #1b56a6;
$custom-light: #7085c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b56a6",
  "rgb": {
    "r": 27,
    "g": 86,
    "b": 166
  },
  "hsl": {
    "h": 214.532,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46207,
    "c": 0.14229,
    "h": 257.5
  },
  "luminance": 0.09642
}

Semantic roles & 50–950 ramp

primary
#1B56A6
secondary
#C79756
accent
#A239EF
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B56A6

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

Preview Lab → · Contrast checker → · Palette generator →

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