#5A9EF3#5A9EF3

#5A9EF3 is a light, vivid cyan. Relative luminance 0.331; OKLCH L 69.2% C 0.144 H 255.0°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5A9EF3
RGBrgb(90, 158, 243)
HSLhsl(213, 86%, 65%)
HSVhsv(213, 63%, 95%)
CMYKcmyk(63%, 35%, 0%, 4.7%)
CIE-LABlab(64.24, 4.20, -48.97)
CIE-LCHlch(64.24, 49.15, 274.90°)
OKLaboklab(69.24% -0.0373 -0.1388)
OKLCHoklch(69.24% 0.144 255)
XYZxyz(32.6151, 33.0953, 89.4459)
Luminance0.3310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9EF3 #F3AF5A
analogous
#5AEBF3 #5A9EF3 #625AF3
triadic
#5A9EF3 #F35A9E #9EF35A
tetradic
#5A9EF3 #F35AEB #F3AF5A #5AF362
square
#5A9EF3 #F35AEB #F3AF5A #5AF362
split-complementary
#5A9EF3 #F3625A #EBF35A
monochromatic
#0E5FC4 #217CEF #5A9EF3 #93C0F7 #CCE1FB

Accessibility & contrast

On white

2.76
#5A9EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#5A9EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9EF3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9EF3#FFFFFF#000000##000000
##5A9EF31.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A4F7
Deuteranopia (green-blind)
#6495F1
Tritanopia (blue-blind)
#00B2BD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5a9ef3;
/* rgb */ color: rgb(90, 158, 243);
/* oklch */ color: oklch(69.2% 0.144 255.0);
Tailwind
colors: {
  custom: {
    50: '#96baf7',
    500: '#5a9ef3',
    950: '#000000',
  },
}
SCSS
$custom: #5a9ef3;
$custom-light: #96baf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9ef3",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 243
  },
  "hsl": {
    "h": 213.333,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69237,
    "c": 0.14377,
    "h": 255
  },
  "luminance": 0.33098
}

Semantic roles & 50–950 ramp

primary
#5A9EF3
secondary
#EED7BB
accent
#7F03E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A9EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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