#2052A8#2052A8

#2052A8 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.149 H 260.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2052A8
RGBrgb(32, 82, 168)
HSLhsl(218, 68%, 39%)
HSVhsv(218, 81%, 66%)
CMYKcmyk(81%, 51.2%, 0%, 34.1%)
CIE-LABlab(36.30, 15.81, -50.93)
CIE-LCHlch(36.30, 53.33, 287.25°)
OKLaboklab(45.61% -0.0245 -0.1466)
OKLCHoklch(45.61% 0.149 260.5)
XYZxyz(10.6783, 9.1675, 38.2449)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2052A8 #A87620
analogous
#2096A8 #2052A8 #3220A8
triadic
#2052A8 #A82052 #52A820
tetradic
#2052A8 #A82096 #A87620 #20A832
square
#2052A8 #A82096 #A87620 #20A832
split-complementary
#2052A8 #A83220 #96A820
monochromatic
#0C2041 #163975 #2052A8 #2E6CD7 #6190E1

Accessibility & contrast

On white

7.41
#2052A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2052A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2052A8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2052A8#FFFFFF#000000##FFFFFF
##2052A81.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5CAB
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#006775
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2052a8;
/* rgb */ color: rgb(32, 82, 168);
/* oklch */ color: oklch(45.6% 0.149 260.5);
Tailwind
colors: {
  custom: {
    50: '#7282c2',
    500: '#2052a8',
    950: '#000000',
  },
}
SCSS
$custom: #2052a8;
$custom-light: #7282c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2052a8",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 168
  },
  "hsl": {
    "h": 217.941,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45612,
    "c": 0.14868,
    "h": 260.5
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#2052A8
secondary
#C6A05E
accent
#AB3DEB
background
#F7F7FC
surface
#EDEEF8
border
#C8C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2052A8

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

Preview Lab → · Contrast checker → · Palette generator →

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