#2056AC#2056AC

#2056AC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.149 H 259.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2056AC
RGBrgb(32, 86, 172)
HSLhsl(217, 69%, 40%)
HSVhsv(217, 81%, 67%)
CMYKcmyk(81.4%, 50%, 0%, 32.5%)
CIE-LABlab(37.73, 14.73, -51.00)
CIE-LCHlch(37.73, 53.09, 286.11°)
OKLaboklab(46.79% -0.027 -0.1468)
OKLCHoklch(46.79% 0.149 259.6)
XYZxyz(11.3671, 9.9398, 40.3412)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2056AC #AC7620
analogous
#209CAC #2056AC #3020AC
triadic
#2056AC #AC2056 #56AC20
tetradic
#2056AC #AC209C #AC7620 #20AC30
square
#2056AC #AC209C #AC7620 #20AC30
split-complementary
#2056AC #AC3020 #9CAC20
monochromatic
#0D2245 #163C78 #2056AC #3171D9 #6495E2

Accessibility & contrast

On white

7.03
#2056AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2056AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2056AC
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2056AC#FFFFFF#000000##FFFFFF
##2056AC1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#006B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2056ac;
/* rgb */ color: rgb(32, 86, 172);
/* oklch */ color: oklch(46.8% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#7385c5',
    500: '#2056ac',
    950: '#000000',
  },
}
SCSS
$custom: #2056ac;
$custom-light: #7385c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2056ac",
  "rgb": {
    "r": 32,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 216.857,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.46795,
    "c": 0.14923,
    "h": 259.6
  },
  "luminance": 0.09941
}

Semantic roles & 50–950 ramp

primary
#2056AC
secondary
#C7A060
accent
#A83CEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2056AC

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

Preview Lab → · Contrast checker → · Palette generator →

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