#1B56BB#1B56BB

#1B56BB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.8% C 0.171 H 260.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#1B56BB
RGBrgb(27, 86, 187)
HSLhsl(218, 75%, 42%)
HSVhsv(218, 86%, 73%)
CMYKcmyk(85.6%, 54%, 0%, 26.7%)
CIE-LABlab(38.68, 20.23, -58.31)
CIE-LCHlch(38.68, 61.72, 289.14°)
OKLaboklab(47.82% -0.0278 -0.1683)
OKLCHoklch(47.82% 0.171 260.6)
XYZxyz(12.7462, 10.4748, 48.3541)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B56BB #BB801B
analogous
#1BA6BB #1B56BB #301BBB
triadic
#1B56BB #BB1B56 #56BB1B
tetradic
#1B56BB #BB1BA6 #BB801B #1BBB30
square
#1B56BB #BB1BA6 #BB801B #1BBB30
split-complementary
#1B56BB #BB301B #A6BB1B
monochromatic
#0C2550 #133D86 #1B56BB #3273E1 #6797E9

Accessibility & contrast

On white

6.78
#1B56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#1B56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1B56BB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B56BB#FFFFFF#000000##FFFFFF
##1B56BB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #1b56bb;
/* rgb */ color: rgb(27, 86, 187);
/* oklch */ color: oklch(47.8% 0.171 260.6);
Tailwind
colors: {
  custom: {
    50: '#7584d0',
    500: '#1b56bb',
    950: '#000000',
  },
}
SCSS
$custom: #1b56bb;
$custom-light: #7584d0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b56bb",
  "rgb": {
    "r": 27,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 217.875,
    "s": 74.766,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47823,
    "c": 0.17062,
    "h": 260.6
  },
  "luminance": 0.10476
}

Semantic roles & 50–950 ramp

primary
#1B56BB
secondary
#CEA763
accent
#AC36F1
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #1B56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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