#2051AD#2051AD

#2051AD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.157 H 261.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2051AD
RGBrgb(32, 81, 173)
HSLhsl(219, 69%, 40%)
HSVhsv(219, 82%, 68%)
CMYKcmyk(81.5%, 53.2%, 0%, 32.2%)
CIE-LABlab(36.38, 18.46, -53.78)
CIE-LCHlch(36.38, 56.86, 288.94°)
OKLaboklab(45.79% -0.0231 -0.155)
OKLCHoklch(45.79% 0.157 261.5)
XYZxyz(11.0782, 9.2077, 40.7205)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2051AD #AD7C20
analogous
#2097AD #2051AD #3620AD
triadic
#2051AD #AD2051 #51AD20
tetradic
#2051AD #AD2097 #AD7C20 #20AD36
square
#2051AD #AD2097 #AD7C20 #20AD36
split-complementary
#2051AD #AD3620 #97AD20
monochromatic
#0D2146 #163979 #2051AD #316CD9 #6591E2

Accessibility & contrast

On white

7.39
#2051AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2051AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2051AD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2051AD#FFFFFF#000000##FFFFFF
##2051AD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5CB0
Deuteranopia (green-blind)
#004FAB
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2051ad;
/* rgb */ color: rgb(32, 81, 173);
/* oklch */ color: oklch(45.8% 0.157 261.5);
Tailwind
colors: {
  custom: {
    50: '#7381c6',
    500: '#2051ad',
    950: '#000000',
  },
}
SCSS
$custom: #2051ad;
$custom-light: #7381c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2051ad",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 219.149,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45785,
    "c": 0.15677,
    "h": 261.5
  },
  "luminance": 0.09209
}

Semantic roles & 50–950 ramp

primary
#2051AD
secondary
#C8A461
accent
#AF3CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2051AD

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

Preview Lab → · Contrast checker → · Palette generator →

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