#2054B4#2054B4

#2054B4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.0% C 0.163 H 261.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2054B4
RGBrgb(32, 84, 180)
HSLhsl(219, 70%, 42%)
HSVhsv(219, 82%, 71%)
CMYKcmyk(82.2%, 53.3%, 0%, 29.4%)
CIE-LABlab(37.74, 19.21, -55.72)
CIE-LCHlch(37.74, 58.94, 289.02°)
OKLaboklab(46.98% -0.0245 -0.1607)
OKLCHoklch(46.98% 0.163 261.3)
XYZxyz(12.0012, 9.9416, 44.4576)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2054B4 #B48020
analogous
#209EB4 #2054B4 #3620B4
triadic
#2054B4 #B42054 #54B420
tetradic
#2054B4 #B4209E #B48020 #20B436
square
#2054B4 #B4209E #B48020 #20B436
split-complementary
#2054B4 #B43620 #9EB420
monochromatic
#0E244C #173C80 #2054B4 #3670DB #6A95E4

Accessibility & contrast

On white

7.03
#2054B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2054B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2054B4
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2054B4#FFFFFF#000000##FFFFFF
##2054B41.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0760B7
Deuteranopia (green-blind)
#0052B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2054b4;
/* rgb */ color: rgb(32, 84, 180);
/* oklch */ color: oklch(47.0% 0.163 261.3);
Tailwind
colors: {
  custom: {
    50: '#7583cb',
    500: '#2054b4',
    950: '#000000',
  },
}
SCSS
$custom: #2054b4;
$custom-light: #7583cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2054b4",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 218.919,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46979,
    "c": 0.16256,
    "h": 261.3
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#2054B4
secondary
#CAA766
accent
#AE3BED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2054B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2054B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva