#5A9BEF#5A9BEF

#5A9BEF is a light, vivid cyan. Relative luminance 0.318; OKLCH L 68.4% C 0.142 H 255.6°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5A9BEF
RGBrgb(90, 155, 239)
HSLhsl(214, 82%, 65%)
HSVhsv(214, 62%, 94%)
CMYKcmyk(62.3%, 35.1%, 0%, 6.3%)
CIE-LABlab(63.21, 4.62, -48.39)
CIE-LCHlch(63.21, 48.61, 275.45°)
OKLaboklab(68.38% -0.0352 -0.1372)
OKLCHoklch(68.38% 0.142 255.6)
XYZxyz(31.5122, 31.8454, 86.1307)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9BEF #EFAE5A
analogous
#5AE5EF #5A9BEF #645AEF
triadic
#5A9BEF #EF5A9B #9BEF5A
tetradic
#5A9BEF #EF5AE5 #EFAE5A #5AEF64
square
#5A9BEF #EF5AE5 #EFAE5A #5AEF64
split-complementary
#5A9BEF #EF645A #E5EF5A
monochromatic
#125CBC #2279EA #5A9BEF #92BDF4 #CADFFA

Accessibility & contrast

On white

2.85
#5A9BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#5A9BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9BEF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9BEF#FFFFFF#000000##000000
##5A9BEF1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F2
Deuteranopia (green-blind)
#6293ED
Tritanopia (blue-blind)
#00AEBA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5a9bef;
/* rgb */ color: rgb(90, 155, 239);
/* oklch */ color: oklch(68.4% 0.142 255.6);
Tailwind
colors: {
  custom: {
    50: '#95b8f4',
    500: '#5a9bef',
    950: '#000000',
  },
}
SCSS
$custom: #5a9bef;
$custom-light: #95b8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9bef",
  "rgb": {
    "r": 90,
    "g": 155,
    "b": 239
  },
  "hsl": {
    "h": 213.826,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68375,
    "c": 0.14165,
    "h": 255.6
  },
  "luminance": 0.31848
}

Semantic roles & 50–950 ramp

primary
#5A9BEF
secondary
#ECD6B9
accent
#8107DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5A9BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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