#2056A9#2056A9

#2056A9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.145 H 259.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#2056A9
RGBrgb(32, 86, 169)
HSLhsl(216, 68%, 39%)
HSVhsv(216, 81%, 66%)
CMYKcmyk(81.1%, 49.1%, 0%, 33.7%)
CIE-LABlab(37.53, 13.54, -49.55)
CIE-LCHlch(37.53, 51.37, 285.29°)
OKLaboklab(46.57% -0.0274 -0.1425)
OKLCHoklch(46.57% 0.145 259.1)
XYZxyz(11.0823, 9.8259, 38.8409)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2056A9 #A97320
analogous
#209BA9 #2056A9 #2E20A9
triadic
#2056A9 #A92056 #56A920
tetradic
#2056A9 #A9209B #A97320 #20A92E
square
#2056A9 #A9209B #A97320 #20A92E
split-complementary
#2056A9 #A92E20 #9BA920
monochromatic
#0D2242 #163C76 #2056A9 #2F71D8 #6294E1

Accessibility & contrast

On white

7.08
#2056A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2056A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2056A9
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2056A9#FFFFFF#000000##FFFFFF
##2056A91.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAC
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#006A77
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2056a9;
/* rgb */ color: rgb(32, 86, 169);
/* oklch */ color: oklch(46.6% 0.145 259.1);
Tailwind
colors: {
  custom: {
    50: '#7285c3',
    500: '#2056a9',
    950: '#000000',
  },
}
SCSS
$custom: #2056a9;
$custom-light: #7285c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2056a9",
  "rgb": {
    "r": 32,
    "g": 86,
    "b": 169
  },
  "hsl": {
    "h": 216.35,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46572,
    "c": 0.14512,
    "h": 259.1
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#2056A9
secondary
#C69D5F
accent
#A63DEB
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2056A9

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

Preview Lab → · Contrast checker → · Palette generator →

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