#2051BB#2051BB

#2051BB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.9% C 0.176 H 262.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2051BB
RGBrgb(32, 81, 187)
HSLhsl(221, 71%, 43%)
HSVhsv(221, 83%, 73%)
CMYKcmyk(82.9%, 56.7%, 0%, 26.7%)
CIE-LABlab(37.44, 23.95, -60.32)
CIE-LCHlch(37.44, 64.90, 291.65°)
OKLaboklab(46.92% -0.0219 -0.1743)
OKLCHoklch(46.92% 0.176 262.8)
XYZxyz(12.5045, 9.7783, 48.2324)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2051BB #BB8A20
analogous
#209EBB #2051BB #3C20BB
triadic
#2051BB #BB2051 #51BB20
tetradic
#2051BB #BB209E #BB8A20 #20BB3C
square
#2051BB #BB209E #BB8A20 #20BB3C
split-complementary
#2051BB #BB3C20 #9EBB20
monochromatic
#0E2452 #173A87 #2051BB #3B6EDD #6F95E6

Accessibility & contrast

On white

7.10
#2051BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2051BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2051BB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2051BB#FFFFFF#000000##FFFFFF
##2051BB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2051bb;
/* rgb */ color: rgb(32, 81, 187);
/* oklch */ color: oklch(46.9% 0.176 262.8);
Tailwind
colors: {
  custom: {
    50: '#7781d0',
    500: '#2051bb',
    950: '#000000',
  },
}
SCSS
$custom: #2051bb;
$custom-light: #7781d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2051bb",
  "rgb": {
    "r": 32,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 221.032,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.17564,
    "h": 262.8
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#2051BB
secondary
#CDAE6A
accent
#B53AEE
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2051BB

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

Preview Lab → · Contrast checker → · Palette generator →

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