#2052AC#2052AC

#2052AC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 45.9% C 0.154 H 261.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2052AC
RGBrgb(32, 82, 172)
HSLhsl(219, 69%, 40%)
HSVhsv(219, 81%, 67%)
CMYKcmyk(81.4%, 52.3%, 0%, 32.5%)
CIE-LABlab(36.59, 17.39, -52.85)
CIE-LCHlch(36.59, 55.64, 288.22°)
OKLaboklab(45.92% -0.024 -0.1523)
OKLCHoklch(45.92% 0.154 261.1)
XYZxyz(11.0567, 9.3189, 40.2377)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2052AC #AC7A20
analogous
#2098AC #2052AC #3420AC
triadic
#2052AC #AC2052 #52AC20
tetradic
#2052AC #AC2098 #AC7A20 #20AC34
square
#2052AC #AC2098 #AC7A20 #20AC34
split-complementary
#2052AC #AC3420 #98AC20
monochromatic
#0D2145 #163978 #2052AC #316DD9 #6491E2

Accessibility & contrast

On white

7.33
#2052AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2052AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2052AC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2052AC#FFFFFF#000000##FFFFFF
##2052AC1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135DAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2052ac;
/* rgb */ color: rgb(32, 82, 172);
/* oklch */ color: oklch(45.9% 0.154 261.1);
Tailwind
colors: {
  custom: {
    50: '#7381c5',
    500: '#2052ac',
    950: '#000000',
  },
}
SCSS
$custom: #2052ac;
$custom-light: #7381c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2052ac",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 172
  },
  "hsl": {
    "h": 218.571,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.45922,
    "c": 0.15417,
    "h": 261.1
  },
  "luminance": 0.0932
}

Semantic roles & 50–950 ramp

primary
#2052AC
secondary
#C7A360
accent
#AD3CEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2052AC

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

Preview Lab → · Contrast checker → · Palette generator →

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