#5A97DF#5A97DF

#5A97DF is a light, vivid cyan. Relative luminance 0.296; OKLCH L 66.7% C 0.125 H 253.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5A97DF
RGBrgb(90, 151, 223)
HSLhsl(212, 68%, 61%)
HSVhsv(212, 60%, 87%)
CMYKcmyk(59.6%, 32.3%, 0%, 12.5%)
CIE-LABlab(61.34, 1.70, -42.51)
CIE-LCHlch(61.34, 42.55, 272.29°)
OKLaboklab(66.65% -0.0352 -0.1201)
OKLCHoklch(66.65% 0.125 253.6)
XYZxyz(28.5976, 29.6320, 74.0102)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A97DF #DFA25A
analogous
#5ADADF #5A97DF #605ADF
triadic
#5A97DF #DF5A97 #97DF5A
tetradic
#5A97DF #DF5ADA #DFA25A #5ADF60
square
#5A97DF #DF5ADA #DFA25A #5ADF60
split-complementary
#5A97DF #DF605A #DADF5A
monochromatic
#1F5AA0 #2977D3 #5A97DF #8DB7E9 #C1D8F3

Accessibility & contrast

On white

3.03
#5A97DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5A97DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A97DF
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A97DF#FFFFFF#000000##000000
##5A97DF1.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#799BE2
Deuteranopia (green-blind)
#678EDE
Tritanopia (blue-blind)
#00A7B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a97df;
/* rgb */ color: rgb(90, 151, 223);
/* oklch */ color: oklch(66.7% 0.125 253.6);
Tailwind
colors: {
  custom: {
    50: '#93b5e9',
    500: '#5a97df',
    950: '#000000',
  },
}
SCSS
$custom: #5a97df;
$custom-light: #93b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a97df",
  "rgb": {
    "r": 90,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 212.481,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66654,
    "c": 0.12516,
    "h": 253.6
  },
  "luminance": 0.29635
}

Semantic roles & 50–950 ramp

primary
#5A97DF
secondary
#E3CCB2
accent
#7A16CF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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