#2052A3#2052A3

#2052A3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.142 H 259.8°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2052A3
RGBrgb(32, 82, 163)
HSLhsl(217, 67%, 38%)
HSVhsv(217, 80%, 64%)
CMYKcmyk(80.4%, 49.7%, 0%, 36.1%)
CIE-LABlab(35.95, 13.83, -48.51)
CIE-LCHlch(35.95, 50.44, 285.91°)
OKLaboklab(45.23% -0.0252 -0.1395)
OKLCHoklch(45.23% 0.142 259.8)
XYZxyz(10.2214, 8.9848, 35.8388)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2052A3 #A37120
analogous
#2093A3 #2052A3 #2F20A3
triadic
#2052A3 #A32052 #52A320
tetradic
#2052A3 #A32093 #A37120 #20A32F
square
#2052A3 #A32093 #A37120 #20A32F
split-complementary
#2052A3 #A32F20 #93A320
monochromatic
#0C1F3D #163870 #2052A3 #2B6CD5 #5E8FDF

Accessibility & contrast

On white

7.51
#2052A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2052A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2052A3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2052A3#FFFFFF#000000##FFFFFF
##2052A31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225BA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2052a3;
/* rgb */ color: rgb(32, 82, 163);
/* oklch */ color: oklch(45.2% 0.142 259.8);
Tailwind
colors: {
  custom: {
    50: '#7182bf',
    500: '#2052a3',
    950: '#000000',
  },
}
SCSS
$custom: #2052a3;
$custom-light: #7182bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2052a3",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 163
  },
  "hsl": {
    "h": 217.099,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45233,
    "c": 0.14179,
    "h": 259.8
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#2052A3
secondary
#C49C5B
accent
#A83EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2052A3

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

Preview Lab → · Contrast checker → · Palette generator →

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