#5A95E7#5A95E7

#5A95E7 is a light, vivid cyan. Relative luminance 0.294; OKLCH L 66.6% C 0.137 H 256.9°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5A95E7
RGBrgb(90, 149, 231)
HSLhsl(215, 75%, 63%)
HSVhsv(215, 61%, 91%)
CMYKcmyk(61%, 35.5%, 0%, 9.4%)
CIE-LABlab(61.16, 5.48, -47.22)
CIE-LCHlch(61.16, 47.53, 276.62°)
OKLaboklab(66.65% -0.0311 -0.1338)
OKLCHoklch(66.65% 0.137 256.9)
XYZxyz(29.3826, 29.4354, 79.7190)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A95E7 #E7AC5A
analogous
#5ADBE7 #5A95E7 #665AE7
triadic
#5A95E7 #E75A95 #95E75A
tetradic
#5A95E7 #E75ADB #E7AC5A #5AE766
square
#5A95E7 #E75ADB #E7AC5A #5AE766
split-complementary
#5A95E7 #E7665A #DBE75A
monochromatic
#1957AD #2573DF #5A95E7 #8FB7EF #C5DAF7

Accessibility & contrast

On white

3.05
#5A95E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#5A95E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A95E7
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A95E7#FFFFFF#000000##000000
##5A95E71.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEA
Deuteranopia (green-blind)
#5F8EE5
Tritanopia (blue-blind)
#00A8B3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5a95e7;
/* rgb */ color: rgb(90, 149, 231);
/* oklch */ color: oklch(66.6% 0.137 256.9);
Tailwind
colors: {
  custom: {
    50: '#94b3ef',
    500: '#5a95e7',
    950: '#000000',
  },
}
SCSS
$custom: #5a95e7;
$custom-light: #94b3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5a95e7",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 231
  },
  "hsl": {
    "h": 214.894,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66646,
    "c": 0.13738,
    "h": 256.9
  },
  "luminance": 0.29438
}

Semantic roles & 50–950 ramp

primary
#5A95E7
secondary
#E8D3B5
accent
#830FD7
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A95E7

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

Preview Lab → · Contrast checker → · Palette generator →

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