#2051AC#2051AC

#2051AC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.7% C 0.155 H 261.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2051AC
RGBrgb(32, 81, 172)
HSLhsl(219, 69%, 40%)
HSVhsv(219, 81%, 67%)
CMYKcmyk(81.4%, 52.9%, 0%, 32.5%)
CIE-LABlab(36.31, 18.06, -53.31)
CIE-LCHlch(36.31, 56.28, 288.72°)
OKLaboklab(45.71% -0.0233 -0.1537)
OKLCHoklch(45.71% 0.155 261.4)
XYZxyz(10.9818, 9.1692, 40.2128)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2051AC #AC7B20
analogous
#2097AC #2051AC #3520AC
triadic
#2051AC #AC2051 #51AC20
tetradic
#2051AC #AC2097 #AC7B20 #20AC35
square
#2051AC #AC2097 #AC7B20 #20AC35
split-complementary
#2051AC #AC3520 #97AC20
monochromatic
#0D2045 #163978 #2051AC #316BD9 #6490E2

Accessibility & contrast

On white

7.41
#2051AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2051AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2051AC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2051AC#FFFFFF#000000##FFFFFF
##2051AC1.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)
#0E5CAF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2051ac;
/* rgb */ color: rgb(32, 81, 172);
/* oklch */ color: oklch(45.7% 0.155 261.4);
Tailwind
colors: {
  custom: {
    50: '#7381c5',
    500: '#2051ac',
    950: '#000000',
  },
}
SCSS
$custom: #2051ac;
$custom-light: #7381c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2051ac",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 219,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.45706,
    "c": 0.15541,
    "h": 261.4
  },
  "luminance": 0.0917
}

Semantic roles & 50–950 ramp

primary
#2051AC
secondary
#C7A360
accent
#AE3CEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2051AC

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

Preview Lab → · Contrast checker → · Palette generator →

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