#1D56BB#1D56BB

#1D56BB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.170 H 260.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#1D56BB
RGBrgb(29, 86, 187)
HSLhsl(218, 73%, 42%)
HSVhsv(218, 84%, 73%)
CMYKcmyk(84.5%, 54%, 0%, 26.7%)
CIE-LABlab(38.73, 20.39, -58.23)
CIE-LCHlch(38.73, 61.69, 289.30°)
OKLaboklab(47.88% -0.0268 -0.1681)
OKLCHoklch(47.88% 0.17 260.9)
XYZxyz(12.8009, 10.5030, 48.3567)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D56BB #BB821D
analogous
#1DA5BB #1D56BB #331DBB
triadic
#1D56BB #BB1D56 #56BB1D
tetradic
#1D56BB #BB1DA5 #BB821D #1DBB33
square
#1D56BB #BB1DA5 #BB821D #1DBB33
split-complementary
#1D56BB #BB331D #A5BB1D
monochromatic
#0D2551 #153E86 #1D56BB #3573E0 #6A98E8

Accessibility & contrast

On white

6.77
#1D56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #1D56BB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D56BB#FFFFFF#000000##FFFFFF
##1D56BB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.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: #1d56bb;
/* rgb */ color: rgb(29, 86, 187);
/* oklch */ color: oklch(47.9% 0.170 260.9);
Tailwind
colors: {
  custom: {
    50: '#7684d0',
    500: '#1d56bb',
    950: '#000000',
  },
}
SCSS
$custom: #1d56bb;
$custom-light: #7684d0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d56bb",
  "rgb": {
    "r": 29,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 218.354,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47875,
    "c": 0.17019,
    "h": 260.9
  },
  "luminance": 0.10505
}

Semantic roles & 50–950 ramp

primary
#1D56BB
secondary
#CEA866
accent
#AD38F0
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #1D56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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