#2054C3#2054C3

#2054C3 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.183 H 262.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2054C3
RGBrgb(32, 84, 195)
HSLhsl(221, 72%, 45%)
HSVhsv(221, 84%, 76%)
CMYKcmyk(83.6%, 56.9%, 0%, 23.5%)
CIE-LABlab(38.87, 25.07, -62.66)
CIE-LCHlch(38.87, 67.49, 291.81°)
OKLaboklab(48.2% -0.0232 -0.1811)
OKLCHoklch(48.2% 0.183 262.7)
XYZxyz(13.6128, 10.5862, 52.9450)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2054C3 #C38F20
analogous
#20A6C3 #2054C3 #3E20C3
triadic
#2054C3 #C32054 #54C320
tetradic
#2054C3 #C320A6 #C38F20 #20C33E
square
#2054C3 #C320A6 #C38F20 #20C33E
split-complementary
#2054C3 #C33E20 #A6C320
monochromatic
#0F275A #173D8E #2054C3 #4073E0 #759AE8

Accessibility & contrast

On white

6.74
#2054C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2054C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2054C3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2054C3#FFFFFF#000000##FFFFFF
##2054C31.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2054c3;
/* rgb */ color: rgb(32, 84, 195);
/* oklch */ color: oklch(48.2% 0.183 262.7);
Tailwind
colors: {
  custom: {
    50: '#7983d6',
    500: '#2054c3',
    950: '#000000',
  },
}
SCSS
$custom: #2054c3;
$custom-light: #7983d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2054c3",
  "rgb": {
    "r": 32,
    "g": 84,
    "b": 195
  },
  "hsl": {
    "h": 220.859,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48198,
    "c": 0.18257,
    "h": 262.7
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#2054C3
secondary
#CFB16F
accent
#B539EF
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2054C3

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

Preview Lab → · Contrast checker → · Palette generator →

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