#2054B0#2054B0

#2054B0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.157 H 260.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#2054B0
RGBrgb(32, 84, 176)
HSLhsl(218, 69%, 41%)
HSVhsv(218, 82%, 69%)
CMYKcmyk(81.8%, 52.3%, 0%, 31%)
CIE-LABlab(37.45, 17.64, -53.83)
CIE-LCHlch(37.45, 56.65, 288.14°)
OKLaboklab(46.67% -0.0249 -0.1551)
OKLCHoklch(46.67% 0.157 260.9)
XYZxyz(11.5996, 9.7809, 42.3424)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2054B0 #B07C20
analogous
#209CB0 #2054B0 #3420B0
triadic
#2054B0 #B02054 #54B020
tetradic
#2054B0 #B0209C #B07C20 #20B034
square
#2054B0 #B0209C #B07C20 #20B034
split-complementary
#2054B0 #B03420 #9CB020
monochromatic
#0D2348 #173B7C #2054B0 #336FDA #6794E3

Accessibility & contrast

On white

7.10
#2054B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2054B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2054B0
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2054B0#FFFFFF#000000##FFFFFF
##2054B01.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)
#135FB3
Deuteranopia (green-blind)
#0052AE
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2054b0;
/* rgb */ color: rgb(32, 84, 176);
/* oklch */ color: oklch(46.7% 0.157 260.9);
Tailwind
colors: {
  custom: {
    50: '#7483c8',
    500: '#2054b0',
    950: '#000000',
  },
}
SCSS
$custom: #2054b0;
$custom-light: #7483c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2054b0",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 176
  },
  "hsl": {
    "h": 218.333,
    "s": 69.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.15714,
    "h": 260.9
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#2054B0
secondary
#C9A463
accent
#AC3CEC
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2054B0

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

Preview Lab → · Contrast checker → · Palette generator →

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