#2051A9#2051A9

#2051A9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.5% C 0.151 H 261.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2051A9
RGBrgb(32, 81, 169)
HSLhsl(219, 68%, 39%)
HSVhsv(219, 81%, 66%)
CMYKcmyk(81.1%, 52.1%, 0%, 33.7%)
CIE-LABlab(36.09, 16.88, -51.88)
CIE-LCHlch(36.09, 54.55, 288.02°)
OKLaboklab(45.47% -0.0236 -0.1494)
OKLCHoklch(45.47% 0.151 261)
XYZxyz(10.6969, 9.0552, 38.7125)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2051A9 #A97820
analogous
#2096A9 #2051A9 #3420A9
triadic
#2051A9 #A92051 #51A920
tetradic
#2051A9 #A92096 #A97820 #20A934
square
#2051A9 #A92096 #A97820 #20A934
split-complementary
#2051A9 #A93420 #96A920
monochromatic
#0D2042 #163876 #2051A9 #2F6BD8 #6290E1

Accessibility & contrast

On white

7.47
#2051A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2051A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2051A9
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2051A9#FFFFFF#000000##FFFFFF
##2051A91.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)
#155BAC
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2051a9;
/* rgb */ color: rgb(32, 81, 169);
/* oklch */ color: oklch(45.5% 0.151 261.0);
Tailwind
colors: {
  custom: {
    50: '#7281c3',
    500: '#2051a9',
    950: '#000000',
  },
}
SCSS
$custom: #2051a9;
$custom-light: #7281c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2051a9",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 169
  },
  "hsl": {
    "h": 218.54,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45471,
    "c": 0.15129,
    "h": 261
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#2051A9
secondary
#C6A15F
accent
#AD3DEB
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #2051A9

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

Preview Lab → · Contrast checker → · Palette generator →

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