#2052A1#2052A1

#2052A1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.139 H 259.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2052A1
RGBrgb(32, 82, 161)
HSLhsl(217, 67%, 38%)
HSVhsv(217, 80%, 63%)
CMYKcmyk(80.1%, 49.1%, 0%, 36.9%)
CIE-LABlab(35.82, 13.03, -47.54)
CIE-LCHlch(35.82, 49.29, 285.33°)
OKLaboklab(45.08% -0.0255 -0.1366)
OKLCHoklch(45.08% 0.139 259.4)
XYZxyz(10.0436, 8.9137, 34.9025)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2052A1 #A16F20
analogous
#2092A1 #2052A1 #2E20A1
triadic
#2052A1 #A12052 #52A120
tetradic
#2052A1 #A12092 #A16F20 #20A12E
square
#2052A1 #A12092 #A16F20 #20A12E
split-complementary
#2052A1 #A12E20 #92A120
monochromatic
#0C1E3B #16386E #2052A1 #2A6CD4 #5D8FDF

Accessibility & contrast

On white

7.55
#2052A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2052A1
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2052A1#FFFFFF#000000##FFFFFF
##2052A11.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245AA4
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2052a1;
/* rgb */ color: rgb(32, 82, 161);
/* oklch */ color: oklch(45.1% 0.139 259.4);
Tailwind
colors: {
  custom: {
    50: '#7082bd',
    500: '#2052a1',
    950: '#000000',
  },
}
SCSS
$custom: #2052a1;
$custom-light: #7082bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2052a1",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 161
  },
  "hsl": {
    "h": 216.744,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.13901,
    "h": 259.4
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#2052A1
secondary
#C39A5A
accent
#A73EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2052A1

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

Preview Lab → · Contrast checker → · Palette generator →

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