#2051A3#2051A3

#2051A3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.143 H 260.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2051A3
RGBrgb(32, 81, 163)
HSLhsl(218, 67%, 38%)
HSVhsv(218, 80%, 64%)
CMYKcmyk(80.4%, 50.3%, 0%, 36.1%)
CIE-LABlab(35.66, 14.50, -48.98)
CIE-LCHlch(35.66, 51.08, 286.49°)
OKLaboklab(45.01% -0.0244 -0.1409)
OKLCHoklch(45.01% 0.143 260.2)
XYZxyz(10.1465, 8.8351, 35.8138)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2051A3 #A37220
analogous
#2092A3 #2051A3 #3020A3
triadic
#2051A3 #A32051 #51A320
tetradic
#2051A3 #A32092 #A37220 #20A330
square
#2051A3 #A32092 #A37220 #20A330
split-complementary
#2051A3 #A33020 #92A320
monochromatic
#0C1E3D #163870 #2051A3 #2B6BD5 #5E8EDF

Accessibility & contrast

On white

7.59
#2051A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2051A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2051A3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2051A3#FFFFFF#000000##FFFFFF
##2051A31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA6
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2051a3;
/* rgb */ color: rgb(32, 81, 163);
/* oklch */ color: oklch(45.0% 0.143 260.2);
Tailwind
colors: {
  custom: {
    50: '#7181bf',
    500: '#2051a3',
    950: '#000000',
  },
}
SCSS
$custom: #2051a3;
$custom-light: #7181bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2051a3",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 217.557,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4501,
    "c": 0.14302,
    "h": 260.2
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#2051A3
secondary
#C49D5B
accent
#AA3EEA
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2051A3

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

Preview Lab → · Contrast checker → · Palette generator →

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