#5BA5F1#5BA5F1

#5BA5F1 is a light, vivid cyan. Relative luminance 0.355; OKLCH L 70.7% C 0.134 H 250.8°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5BA5F1
RGBrgb(91, 165, 241)
HSLhsl(210, 84%, 65%)
HSVhsv(210, 62%, 95%)
CMYKcmyk(62.2%, 31.5%, 0%, 5.5%)
CIE-LABlab(66.12, -0.29, -44.90)
CIE-LCHlch(66.12, 44.90, 269.63°)
OKLaboklab(70.69% -0.0441 -0.1269)
OKLCHoklch(70.69% 0.134 250.8)
XYZxyz(33.6409, 35.4821, 88.2779)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA5F1 #F1A75B
analogous
#5BF0F1 #5BA5F1 #5C5BF1
triadic
#5BA5F1 #F15BA5 #A5F15B
tetradic
#5BA5F1 #F15BF0 #F1A75B #5BF15C
square
#5BA5F1 #F15BF0 #F1A75B #5BF15C
split-complementary
#5BA5F1 #F15C5B #F0F15B
monochromatic
#1068C1 #2386EC #5BA5F1 #93C4F6 #CCE3FB

Accessibility & contrast

On white

2.59
#5BA5F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#5BA5F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA5F1
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA5F1#FFFFFF#000000##000000
##5BA5F11.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F4
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#00B7C0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5ba5f1;
/* rgb */ color: rgb(91, 165, 241);
/* oklch */ color: oklch(70.7% 0.134 250.8);
Tailwind
colors: {
  custom: {
    50: '#96bff6',
    500: '#5ba5f1',
    950: '#000000',
  },
}
SCSS
$custom: #5ba5f1;
$custom-light: #96bff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba5f1",
  "rgb": {
    "r": 91,
    "g": 165,
    "b": 241
  },
  "hsl": {
    "h": 210.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70692,
    "c": 0.13435,
    "h": 250.8
  },
  "luminance": 0.35485
}

Semantic roles & 50–950 ramp

primary
#5BA5F1
secondary
#EDD4BA
accent
#7405E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA5F1

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

Preview Lab → · Contrast checker → · Palette generator →

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