#2056BB#2056BB

#2056BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.0% C 0.170 H 261.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2056BB
RGBrgb(32, 86, 187)
HSLhsl(219, 71%, 43%)
HSVhsv(219, 83%, 73%)
CMYKcmyk(82.9%, 54%, 0%, 26.7%)
CIE-LABlab(38.81, 20.64, -58.10)
CIE-LCHlch(38.81, 61.65, 289.55°)
OKLaboklab(47.96% -0.0251 -0.1676)
OKLCHoklch(47.96% 0.17 261.5)
XYZxyz(12.8898, 10.5489, 48.3609)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2056BB #BB8520
analogous
#20A3BB #2056BB #3820BB
triadic
#2056BB #BB2056 #56BB20
tetradic
#2056BB #BB20A3 #BB8520 #20BB38
square
#2056BB #BB20A3 #BB8520 #20BB38
split-complementary
#2056BB #BB3820 #A3BB20
monochromatic
#0E2652 #173E87 #2056BB #3B73DD #6F99E6

Accessibility & contrast

On white

6.75
#2056BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2056BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2056BB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2056BB#FFFFFF#000000##FFFFFF
##2056BB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2056bb;
/* rgb */ color: rgb(32, 86, 187);
/* oklch */ color: oklch(48.0% 0.170 261.5);
Tailwind
colors: {
  custom: {
    50: '#7784d0',
    500: '#2056bb',
    950: '#000000',
  },
}
SCSS
$custom: #2056bb;
$custom-light: #7784d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2056bb",
  "rgb": {
    "r": 32,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 219.097,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47958,
    "c": 0.16951,
    "h": 261.5
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#2056BB
secondary
#CDAA6A
accent
#AF3AEE
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2056BB

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

Preview Lab → · Contrast checker → · Palette generator →

#2056BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva