#2052A6#2052A6

#2052A6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.146 H 260.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2052A6
RGBrgb(32, 82, 166)
HSLhsl(218, 68%, 39%)
HSVhsv(218, 81%, 65%)
CMYKcmyk(80.7%, 50.6%, 0%, 34.9%)
CIE-LABlab(36.16, 15.02, -49.97)
CIE-LCHlch(36.16, 52.18, 286.73°)
OKLaboklab(45.46% -0.0248 -0.1438)
OKLCHoklch(45.46% 0.146 260.2)
XYZxyz(10.4934, 9.0936, 37.2712)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2052A6 #A67420
analogous
#2095A6 #2052A6 #3120A6
triadic
#2052A6 #A62052 #52A620
tetradic
#2052A6 #A62095 #A67420 #20A631
square
#2052A6 #A62095 #A67420 #20A631
split-complementary
#2052A6 #A63120 #95A620
monochromatic
#0C1F3F #163973 #2052A6 #2D6CD6 #6090E0

Accessibility & contrast

On white

7.45
#2052A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2052A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2052A6
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2052A6#FFFFFF#000000##FFFFFF
##2052A61.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5CA9
Deuteranopia (green-blind)
#004FA4
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2052a6;
/* rgb */ color: rgb(32, 82, 166);
/* oklch */ color: oklch(45.5% 0.146 260.2);
Tailwind
colors: {
  custom: {
    50: '#7282c1',
    500: '#2052a6',
    950: '#000000',
  },
}
SCSS
$custom: #2052a6;
$custom-light: #7282c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2052a6",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 166
  },
  "hsl": {
    "h": 217.612,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45459,
    "c": 0.14593,
    "h": 260.2
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#2052A6
secondary
#C59E5D
accent
#AA3DEB
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2052A6

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

Preview Lab → · Contrast checker → · Palette generator →

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