#2052B4#2052B4

#2052B4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.6% C 0.165 H 261.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2052B4
RGBrgb(32, 82, 180)
HSLhsl(220, 70%, 42%)
HSVhsv(220, 82%, 71%)
CMYKcmyk(82.2%, 54.4%, 0%, 29.4%)
CIE-LABlab(37.18, 20.55, -56.63)
CIE-LCHlch(37.18, 60.24, 289.94°)
OKLaboklab(46.56% -0.0231 -0.1634)
OKLCHoklch(46.56% 0.165 261.9)
XYZxyz(11.8482, 9.6355, 44.4065)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2052B4 #B48220
analogous
#209CB4 #2052B4 #3820B4
triadic
#2052B4 #B42052 #52B420
tetradic
#2052B4 #B4209C #B48220 #20B438
square
#2052B4 #B4209C #B48220 #20B438
split-complementary
#2052B4 #B43820 #9CB420
monochromatic
#0E234C #173A80 #2052B4 #366EDB #6A93E4

Accessibility & contrast

On white

7.17
#2052B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2052B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2052B4
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2052B4#FFFFFF#000000##FFFFFF
##2052B41.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)
#005FB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2052b4;
/* rgb */ color: rgb(32, 82, 180);
/* oklch */ color: oklch(46.6% 0.165 261.9);
Tailwind
colors: {
  custom: {
    50: '#7581cb',
    500: '#2052b4',
    950: '#000000',
  },
}
SCSS
$custom: #2052b4;
$custom-light: #7581cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2052b4",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 219.73,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46556,
    "c": 0.16503,
    "h": 261.9
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#2052B4
secondary
#CAA866
accent
#B13BED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2052B4

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

Preview Lab → · Contrast checker → · Palette generator →

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