#2056B3#2056B3

#2056B3 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.159 H 260.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2056B3
RGBrgb(32, 86, 179)
HSLhsl(218, 70%, 41%)
HSVhsv(218, 82%, 70%)
CMYKcmyk(82.1%, 52%, 0%, 29.8%)
CIE-LABlab(38.23, 17.49, -54.34)
CIE-LCHlch(38.23, 57.09, 287.84°)
OKLaboklab(47.33% -0.026 -0.1566)
OKLCHoklch(47.33% 0.159 260.6)
XYZxyz(12.0572, 10.2159, 43.9755)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2056B3 #B37D20
analogous
#20A0B3 #2056B3 #3420B3
triadic
#2056B3 #B32056 #56B320
tetradic
#2056B3 #B320A0 #B37D20 #20B334
square
#2056B3 #B320A0 #B37D20 #20B334
split-complementary
#2056B3 #B33420 #A0B320
monochromatic
#0D244B #173D7F #2056B3 #3572DB #6996E4

Accessibility & contrast

On white

6.90
#2056B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2056B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2056B3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2056B3#FFFFFF#000000##FFFFFF
##2056B31.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2056b3;
/* rgb */ color: rgb(32, 86, 179);
/* oklch */ color: oklch(47.3% 0.159 260.6);
Tailwind
colors: {
  custom: {
    50: '#7584ca',
    500: '#2056b3',
    950: '#000000',
  },
}
SCSS
$custom: #2056b3;
$custom-light: #7584ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2056b3",
  "rgb": {
    "r": 32,
    "g": 86,
    "b": 179
  },
  "hsl": {
    "h": 217.959,
    "s": 69.668,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47329,
    "c": 0.15875,
    "h": 260.6
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

primary
#2056B3
secondary
#CAA565
accent
#AB3BEC
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2056B3

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

Preview Lab → · Contrast checker → · Palette generator →

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