#2056AD#2056AD

#2056AD is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.151 H 259.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#2056AD
RGBrgb(32, 86, 173)
HSLhsl(217, 69%, 40%)
HSVhsv(217, 82%, 68%)
CMYKcmyk(81.5%, 50.3%, 0%, 32.2%)
CIE-LABlab(37.80, 15.13, -51.48)
CIE-LCHlch(37.80, 53.66, 286.37°)
OKLaboklab(46.87% -0.0268 -0.1482)
OKLCHoklch(46.87% 0.151 259.7)
XYZxyz(11.4635, 9.9784, 40.8489)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2056AD #AD7720
analogous
#209CAD #2056AD #3020AD
triadic
#2056AD #AD2056 #56AD20
tetradic
#2056AD #AD209C #AD7720 #20AD30
square
#2056AD #AD209C #AD7720 #20AD30
split-complementary
#2056AD #AD3020 #9CAD20
monochromatic
#0D2346 #163C79 #2056AD #3171D9 #6595E2

Accessibility & contrast

On white

7.01
#2056AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2056AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2056AD
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2056AD#FFFFFF#000000##FFFFFF
##2056AD1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B0
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2056ad;
/* rgb */ color: rgb(32, 86, 173);
/* oklch */ color: oklch(46.9% 0.151 259.7);
Tailwind
colors: {
  custom: {
    50: '#7385c6',
    500: '#2056ad',
    950: '#000000',
  },
}
SCSS
$custom: #2056ad;
$custom-light: #7385c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2056ad",
  "rgb": {
    "r": 32,
    "g": 86,
    "b": 173
  },
  "hsl": {
    "h": 217.021,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46871,
    "c": 0.15059,
    "h": 259.7
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#2056AD
secondary
#C8A061
accent
#A83CEC
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2056AD

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

Preview Lab → · Contrast checker → · Palette generator →

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