#5BA1F0#5BA1F0

#5BA1F0 is a light, vivid cyan. Relative luminance 0.340; OKLCH L 69.8% C 0.137 H 252.8°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5BA1F0
RGBrgb(91, 161, 240)
HSLhsl(212, 83%, 65%)
HSVhsv(212, 62%, 94%)
CMYKcmyk(62.1%, 32.9%, 0%, 5.9%)
CIE-LABlab(64.96, 1.66, -46.18)
CIE-LCHlch(64.96, 46.21, 272.06°)
OKLaboklab(69.77% -0.0403 -0.1306)
OKLCHoklch(69.77% 0.137 252.8)
XYZxyz(32.7817, 34.0020, 87.2566)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA1F0 #F0AA5B
analogous
#5BECF0 #5BA1F0 #605BF0
triadic
#5BA1F0 #F05BA1 #A1F05B
tetradic
#5BA1F0 #F05BEC #F0AA5B #5BF060
square
#5BA1F0 #F05BEC #F0AA5B #5BF060
split-complementary
#5BA1F0 #F0605B #ECF05B
monochromatic
#1163BF #2381EB #5BA1F0 #93C1F5 #CBE1FA

Accessibility & contrast

On white

2.69
#5BA1F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#5BA1F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA1F0
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA1F0#FFFFFF#000000##000000
##5BA1F01.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F3
Deuteranopia (green-blind)
#6B97EE
Tritanopia (blue-blind)
#00B3BD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ba1f0;
/* rgb */ color: rgb(91, 161, 240);
/* oklch */ color: oklch(69.8% 0.137 252.8);
Tailwind
colors: {
  custom: {
    50: '#96bcf5',
    500: '#5ba1f0',
    950: '#000000',
  },
}
SCSS
$custom: #5ba1f0;
$custom-light: #96bcf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba1f0",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 240
  },
  "hsl": {
    "h": 211.812,
    "s": 83.24,
    "l": 64.902
  },
  "oklch": {
    "l": 0.69769,
    "c": 0.13673,
    "h": 252.8
  },
  "luminance": 0.34005
}

Semantic roles & 50–950 ramp

primary
#5BA1F0
secondary
#EDD5BA
accent
#7906E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1217
muted
#7E8185

Preview Lab

Preview with #5BA1F0

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

Preview Lab → · Contrast checker → · Palette generator →

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