#2056A4#2056A4

#2056A4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.2% C 0.138 H 258.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2056A4
RGBrgb(32, 86, 164)
HSLhsl(215, 67%, 38%)
HSVhsv(215, 80%, 64%)
CMYKcmyk(80.5%, 47.6%, 0%, 35.7%)
CIE-LABlab(37.19, 11.56, -47.12)
CIE-LCHlch(37.19, 48.52, 283.79°)
OKLaboklab(46.21% -0.0282 -0.1353)
OKLCHoklch(46.21% 0.138 258.2)
XYZxyz(10.6218, 9.6417, 36.4160)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2056A4 #A46E20
analogous
#2098A4 #2056A4 #2C20A4
triadic
#2056A4 #A42056 #56A420
tetradic
#2056A4 #A42098 #A46E20 #20A42C
square
#2056A4 #A42098 #A46E20 #20A42C
split-complementary
#2056A4 #A42C20 #98A420
monochromatic
#0C203E #163B71 #2056A4 #2B71D6 #5F93E0

Accessibility & contrast

On white

7.17
#2056A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2056A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2056A4
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2056A4#FFFFFF#000000##FFFFFF
##2056A41.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#0352A2
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2056a4;
/* rgb */ color: rgb(32, 86, 164);
/* oklch */ color: oklch(46.2% 0.138 258.2);
Tailwind
colors: {
  custom: {
    50: '#7185bf',
    500: '#2056a4',
    950: '#000000',
  },
}
SCSS
$custom: #2056a4;
$custom-light: #7185bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2056a4",
  "rgb": {
    "r": 32,
    "g": 86,
    "b": 164
  },
  "hsl": {
    "h": 215.455,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.46205,
    "c": 0.13826,
    "h": 258.2
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#2056A4
secondary
#C4995C
accent
#A43EEA
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2056A4

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

Preview Lab → · Contrast checker → · Palette generator →

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