#2056A8#2056A8

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

Color values

HEX#2056A8
RGBrgb(32, 86, 168)
HSLhsl(216, 68%, 39%)
HSVhsv(216, 81%, 66%)
CMYKcmyk(81%, 48.8%, 0%, 34.1%)
CIE-LABlab(37.46, 13.15, -49.07)
CIE-LCHlch(37.46, 50.80, 285.00°)
OKLaboklab(46.5% -0.0276 -0.1411)
OKLCHoklch(46.5% 0.144 258.9)
XYZxyz(10.9887, 9.7885, 38.3484)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2056A8 #A87220
analogous
#209AA8 #2056A8 #2E20A8
triadic
#2056A8 #A82056 #56A820
tetradic
#2056A8 #A8209A #A87220 #20A82E
square
#2056A8 #A8209A #A87220 #20A82E
split-complementary
#2056A8 #A82E20 #9AA820
monochromatic
#0C2141 #163C75 #2056A8 #2E71D7 #6194E1

Accessibility & contrast

On white

7.10
#2056A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2056A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2056A8#FFFFFF#000000##FFFFFF
##2056A81.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)
#275FAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2056a8;
/* rgb */ color: rgb(32, 86, 168);
/* oklch */ color: oklch(46.5% 0.144 258.9);
Tailwind
colors: {
  custom: {
    50: '#7285c2',
    500: '#2056a8',
    950: '#000000',
  },
}
SCSS
$custom: #2056a8;
$custom-light: #7285c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2056a8",
  "rgb": {
    "r": 32,
    "g": 86,
    "b": 168
  },
  "hsl": {
    "h": 216.176,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.14375,
    "h": 258.9
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#2056A8
secondary
#C69D5E
accent
#A63DEB
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2056A8

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

Preview Lab → · Contrast checker → · Palette generator →

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