#5A95DC#5A95DC

#5A95DC is a light, vivid cyan. Relative luminance 0.288; OKLCH L 66.1% C 0.123 H 254.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5A95DC
RGBrgb(90, 149, 220)
HSLhsl(213, 65%, 61%)
HSVhsv(213, 59%, 86%)
CMYKcmyk(59.1%, 32.3%, 0%, 13.7%)
CIE-LABlab(60.63, 1.89, -41.95)
CIE-LCHlch(60.63, 41.99, 272.57°)
OKLaboklab(66.06% -0.0339 -0.1185)
OKLCHoklch(66.06% 0.123 254)
XYZxyz(27.8775, 28.8334, 71.7926)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95DC #DCA15A
analogous
#5AD6DC #5A95DC #605ADC
triadic
#5A95DC #DC5A95 #95DC5A
tetradic
#5A95DC #DC5AD6 #DCA15A #5ADC60
square
#5A95DC #DC5AD6 #DCA15A #5ADC60
split-complementary
#5A95DC #DC605A #D6DC5A
monochromatic
#21589B #2C75CD #5A95DC #8CB5E7 #BFD6F1

Accessibility & contrast

On white

3.10
#5A95DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#5A95DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A95DC
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95DC#FFFFFF#000000##000000
##5A95DC1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#668DDB
Tritanopia (blue-blind)
#00A5AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5a95dc;
/* rgb */ color: rgb(90, 149, 220);
/* oklch */ color: oklch(66.1% 0.123 254.0);
Tailwind
colors: {
  custom: {
    50: '#93b3e7',
    500: '#5a95dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a95dc;
$custom-light: #93b3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95dc",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 220
  },
  "hsl": {
    "h": 212.769,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66059,
    "c": 0.12322,
    "h": 254
  },
  "luminance": 0.28836
}

Semantic roles & 50–950 ramp

primary
#5A95DC
secondary
#E2CBB0
accent
#7B19CD
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A95DC

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

Preview Lab → · Contrast checker → · Palette generator →

#5A95DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva