#5BA0F2#5BA0F2

#5BA0F2 is a light, vivid cyan. Relative luminance 0.338; OKLCH L 69.7% C 0.140 H 253.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#5BA0F2
RGBrgb(91, 160, 242)
HSLhsl(213, 85%, 65%)
HSVhsv(213, 62%, 95%)
CMYKcmyk(62.4%, 33.9%, 0%, 5.1%)
CIE-LABlab(64.78, 2.89, -47.56)
CIE-LCHlch(64.78, 47.65, 273.48°)
OKLaboklab(69.66% -0.0388 -0.1347)
OKLCHoklch(69.66% 0.14 253.9)
XYZxyz(32.9064, 33.7734, 88.7719)
Luminance0.3378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA0F2 #F2AD5B
analogous
#5BEBF2 #5BA0F2 #615BF2
triadic
#5BA0F2 #F25BA0 #A0F25B
tetradic
#5BA0F2 #F25BEB #F2AD5B #5BF261
square
#5BA0F2 #F25BEB #F2AD5B #5BF261
split-complementary
#5BA0F2 #F2615B #EBF25B
monochromatic
#0F62C3 #227FEE #5BA0F2 #94C1F6 #CCE2FB

Accessibility & contrast

On white

2.71
#5BA0F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#5BA0F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA0F2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA0F2#FFFFFF#000000##000000
##5BA0F21.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F5
Deuteranopia (green-blind)
#6897F0
Tritanopia (blue-blind)
#00B3BE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ba0f2;
/* rgb */ color: rgb(91, 160, 242);
/* oklch */ color: oklch(69.7% 0.140 253.9);
Tailwind
colors: {
  custom: {
    50: '#96bbf7',
    500: '#5ba0f2',
    950: '#000000',
  },
}
SCSS
$custom: #5ba0f2;
$custom-light: #96bbf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba0f2",
  "rgb": {
    "r": 91,
    "g": 160,
    "b": 242
  },
  "hsl": {
    "h": 212.583,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69658,
    "c": 0.14016,
    "h": 253.9
  },
  "luminance": 0.33777
}

Semantic roles & 50–950 ramp

primary
#5BA0F2
secondary
#EED7BB
accent
#7C04E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5BA0F2

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

Preview Lab → · Contrast checker → · Palette generator →

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