#54A5DC#54A5DC

#54A5DC is a light, moderate cyan. Relative luminance 0.340; OKLCH L 69.4% C 0.113 H 240.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#54A5DC
RGBrgb(84, 165, 220)
HSLhsl(204, 66%, 60%)
HSVhsv(204, 62%, 86%)
CMYKcmyk(61.8%, 25%, 0%, 13.7%)
CIE-LABlab(64.93, -8.31, -35.25)
CIE-LCHlch(64.93, 36.21, 256.73°)
OKLaboklab(69.38% -0.0554 -0.099)
OKLCHoklch(69.38% 0.113 240.8)
XYZxyz(30.0247, 33.9595, 72.6688)
Luminance0.3396 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#54A5DC #DC8B54
analogous
#54DCCF #54A5DC #5461DC
triadic
#54A5DC #DC54A5 #A5DC54
tetradic
#54A5DC #CF54DC #DC8B54 #61DC54
square
#54A5DC #CF54DC #DC8B54 #61DC54
split-complementary
#54A5DC #DC5461 #DCCF54
monochromatic
#1F6697 #2989CA #54A5DC #87C0E6 #BADAF1

Accessibility & contrast

On white

2.69
#54A5DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#54A5DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #54A5DC
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##54A5DC#FFFFFF#000000##000000
##54A5DC1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DF
Deuteranopia (green-blind)
#7A98DB
Tritanopia (blue-blind)
#00B3B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #54a5dc;
/* rgb */ color: rgb(84, 165, 220);
/* oklch */ color: oklch(69.4% 0.113 240.8);
Tailwind
colors: {
  custom: {
    50: '#90bfe7',
    500: '#54a5dc',
    950: '#000000',
  },
}
SCSS
$custom: #54a5dc;
$custom-light: #90bfe7;
$custom-dark: #000000;
JSON
{
  "hex": "#54a5dc",
  "rgb": {
    "r": 84,
    "g": 165,
    "b": 220
  },
  "hsl": {
    "h": 204.265,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.69375,
    "c": 0.11345,
    "h": 240.8
  },
  "luminance": 0.33962
}

Semantic roles & 50–950 ramp

primary
#54A5DC
secondary
#E0C1AC
accent
#843FE9
background
#F9FBFE
surface
#F2F7FC
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #54A5DC

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

Preview Lab → · Contrast checker → · Palette generator →

#54A5DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva