#2052A0#2052A0

#2052A0 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.138 H 259.3°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2052A0
RGBrgb(32, 82, 160)
HSLhsl(217, 67%, 38%)
HSVhsv(217, 80%, 63%)
CMYKcmyk(80%, 48.8%, 0%, 37.3%)
CIE-LABlab(35.75, 12.64, -47.05)
CIE-LCHlch(35.75, 48.71, 285.03°)
OKLaboklab(45.01% -0.0257 -0.1352)
OKLCHoklch(45.01% 0.138 259.3)
XYZxyz(9.9558, 8.8786, 34.4399)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2052A0 #A06E20
analogous
#2092A0 #2052A0 #2E20A0
triadic
#2052A0 #A02052 #52A020
tetradic
#2052A0 #A02092 #A06E20 #20A02E
square
#2052A0 #A02092 #A06E20 #20A02E
split-complementary
#2052A0 #A02E20 #92A020
monochromatic
#0C1E3A #16386D #2052A0 #2A6CD3 #5C8FDE

Accessibility & contrast

On white

7.56
#2052A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2052A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2052A0
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2052A0#FFFFFF#000000##FFFFFF
##2052A01.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA3
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2052a0;
/* rgb */ color: rgb(32, 82, 160);
/* oklch */ color: oklch(45.0% 0.138 259.3);
Tailwind
colors: {
  custom: {
    50: '#7082bd',
    500: '#2052a0',
    950: '#000000',
  },
}
SCSS
$custom: #2052a0;
$custom-light: #7082bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2052a0",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 160
  },
  "hsl": {
    "h": 216.563,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45009,
    "c": 0.13763,
    "h": 259.3
  },
  "luminance": 0.0888
}

Semantic roles & 50–950 ramp

primary
#2052A0
secondary
#C39959
accent
#A73EEA
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2052A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2052A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva