#5A96DF#5A96DF

#5A96DF is a light, vivid cyan. Relative luminance 0.293; OKLCH L 66.4% C 0.126 H 254.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5A96DF
RGBrgb(90, 150, 223)
HSLhsl(213, 68%, 61%)
HSVhsv(213, 60%, 87%)
CMYKcmyk(59.6%, 32.7%, 0%, 12.5%)
CIE-LABlab(61.06, 2.28, -42.95)
CIE-LCHlch(61.06, 43.01, 273.04°)
OKLaboklab(66.44% -0.0342 -0.1214)
OKLCHoklch(66.44% 0.126 254.3)
XYZxyz(28.4373, 29.3115, 73.9568)
Luminance0.2931 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A96DF #DFA35A
analogous
#5AD9DF #5A96DF #615ADF
triadic
#5A96DF #DF5A96 #96DF5A
tetradic
#5A96DF #DF5AD9 #DFA35A #5ADF61
square
#5A96DF #DF5AD9 #DFA35A #5ADF61
split-complementary
#5A96DF #DF615A #D9DF5A
monochromatic
#1F59A0 #2976D3 #5A96DF #8DB7E9 #C1D7F3

Accessibility & contrast

On white

3.06
#5A96DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#5A96DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A96DF
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A96DF#FFFFFF#000000##000000
##5A96DF1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE2
Deuteranopia (green-blind)
#668EDE
Tritanopia (blue-blind)
#00A7B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5a96df;
/* rgb */ color: rgb(90, 150, 223);
/* oklch */ color: oklch(66.4% 0.126 254.3);
Tailwind
colors: {
  custom: {
    50: '#93b4e9',
    500: '#5a96df',
    950: '#000000',
  },
}
SCSS
$custom: #5a96df;
$custom-light: #93b4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a96df",
  "rgb": {
    "r": 90,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 212.932,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66435,
    "c": 0.1261,
    "h": 254.3
  },
  "luminance": 0.29314
}

Semantic roles & 50–950 ramp

primary
#5A96DF
secondary
#E3CDB2
accent
#7C16CF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A96DF

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

Preview Lab → · Contrast checker → · Palette generator →

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