#2052A5#2052A5

#2052A5 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.145 H 260.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2052A5
RGBrgb(32, 82, 165)
HSLhsl(217, 68%, 39%)
HSVhsv(217, 81%, 65%)
CMYKcmyk(80.6%, 50.3%, 0%, 35.3%)
CIE-LABlab(36.09, 14.62, -49.48)
CIE-LCHlch(36.09, 51.60, 286.46°)
OKLaboklab(45.38% -0.0249 -0.1424)
OKLCHoklch(45.38% 0.145 260.1)
XYZxyz(10.4020, 9.0570, 36.7900)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2052A5 #A57320
analogous
#2094A5 #2052A5 #3120A5
triadic
#2052A5 #A52052 #52A520
tetradic
#2052A5 #A52094 #A57320 #20A531
square
#2052A5 #A52094 #A57320 #20A531
split-complementary
#2052A5 #A53120 #94A520
monochromatic
#0C1F3E #163972 #2052A5 #2C6CD6 #5F90E0

Accessibility & contrast

On white

7.47
#2052A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2052A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2052A5
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2052A5#FFFFFF#000000##FFFFFF
##2052A51.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5BA8
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2052a5;
/* rgb */ color: rgb(32, 82, 165);
/* oklch */ color: oklch(45.4% 0.145 260.1);
Tailwind
colors: {
  custom: {
    50: '#7182c0',
    500: '#2052a5',
    950: '#000000',
  },
}
SCSS
$custom: #2052a5;
$custom-light: #7182c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2052a5",
  "rgb": {
    "r": 32,
    "g": 82,
    "b": 165
  },
  "hsl": {
    "h": 217.444,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45383,
    "c": 0.14454,
    "h": 260.1
  },
  "luminance": 0.09058
}

Semantic roles & 50–950 ramp

primary
#2052A5
secondary
#C59D5C
accent
#A93DEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2052A5

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

Preview Lab → · Contrast checker → · Palette generator →

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