#5A9AF3#5A9AF3

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

Color values

HEX#5A9AF3
RGBrgb(90, 154, 243)
HSLhsl(215, 86%, 65%)
HSVhsv(215, 63%, 95%)
CMYKcmyk(63%, 36.6%, 0%, 4.7%)
CIE-LABlab(63.14, 6.52, -50.71)
CIE-LCHlch(63.14, 51.13, 277.33°)
OKLaboklab(68.38% -0.0333 -0.144)
OKLCHoklch(68.38% 0.148 257)
XYZxyz(31.9439, 31.7529, 89.2221)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9AF3 #F3B35A
analogous
#5AE7F3 #5A9AF3 #665AF3
triadic
#5A9AF3 #F35A9A #9AF35A
tetradic
#5A9AF3 #F35AE7 #F3B35A #5AF366
square
#5A9AF3 #F35AE7 #F3B35A #5AF366
split-complementary
#5A9AF3 #F3665A #E7F35A
monochromatic
#0E5AC4 #2177EF #5A9AF3 #93BDF7 #CCE0FB

Accessibility & contrast

On white

2.86
#5A9AF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#5A9AF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5A9AF3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9AF3#FFFFFF#000000##000000
##5A9AF31.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A1F7
Deuteranopia (green-blind)
#5E92F1
Tritanopia (blue-blind)
#00AEBB
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5a9af3;
/* rgb */ color: rgb(90, 154, 243);
/* oklch */ color: oklch(68.4% 0.148 257.0);
Tailwind
colors: {
  custom: {
    50: '#96b7f7',
    500: '#5a9af3',
    950: '#000000',
  },
}
SCSS
$custom: #5a9af3;
$custom-light: #96b7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9af3",
  "rgb": {
    "r": 90,
    "g": 154,
    "b": 243
  },
  "hsl": {
    "h": 214.902,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6838,
    "c": 0.14778,
    "h": 257
  },
  "luminance": 0.31756
}

Semantic roles & 50–950 ramp

primary
#5A9AF3
secondary
#EED9BB
accent
#8503E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5A9AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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