#2056A5#2056A5

#2056A5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.3% C 0.140 H 258.4°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2056A5
RGBrgb(32, 86, 165)
HSLhsl(216, 68%, 39%)
HSVhsv(216, 81%, 65%)
CMYKcmyk(80.6%, 47.9%, 0%, 35.3%)
CIE-LABlab(37.26, 11.96, -47.61)
CIE-LCHlch(37.26, 49.09, 284.10°)
OKLaboklab(46.28% -0.0281 -0.1368)
OKLCHoklch(46.28% 0.14 258.4)
XYZxyz(10.7125, 9.6780, 36.8935)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2056A5 #A56F20
analogous
#2098A5 #2056A5 #2C20A5
triadic
#2056A5 #A52056 #56A520
tetradic
#2056A5 #A52098 #A56F20 #20A52C
square
#2056A5 #A52098 #A56F20 #20A52C
split-complementary
#2056A5 #A52C20 #98A520
monochromatic
#0C213E #163B72 #2056A5 #2C71D6 #5F94E0

Accessibility & contrast

On white

7.15
#2056A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2056A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2056A5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2056A5#FFFFFF#000000##FFFFFF
##2056A51.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2056a5;
/* rgb */ color: rgb(32, 86, 165);
/* oklch */ color: oklch(46.3% 0.140 258.4);
Tailwind
colors: {
  custom: {
    50: '#7185c0',
    500: '#2056a5',
    950: '#000000',
  },
}
SCSS
$custom: #2056a5;
$custom-light: #7185c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2056a5",
  "rgb": {
    "r": 32,
    "g": 86,
    "b": 165
  },
  "hsl": {
    "h": 215.639,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.13963,
    "h": 258.4
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#2056A5
secondary
#C59A5C
accent
#A43DEA
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2056A5

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

Preview Lab → · Contrast checker → · Palette generator →

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