#5BA1F2#5BA1F2

#5BA1F2 is a light, vivid cyan. Relative luminance 0.341; OKLCH L 69.9% C 0.139 H 253.4°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#5BA1F2
RGBrgb(91, 161, 242)
HSLhsl(212, 85%, 65%)
HSVhsv(212, 62%, 95%)
CMYKcmyk(62.4%, 33.5%, 0%, 5.1%)
CIE-LABlab(65.06, 2.32, -47.12)
CIE-LCHlch(65.06, 47.18, 272.81°)
OKLaboklab(69.87% -0.0398 -0.1334)
OKLCHoklch(69.87% 0.139 253.4)
XYZxyz(33.0805, 34.1215, 88.8300)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5BA1F2 #F2AC5B
analogous
#5BEDF2 #5BA1F2 #605BF2
triadic
#5BA1F2 #F25BA1 #A1F25B
tetradic
#5BA1F2 #F25BED #F2AC5B #5BF260
square
#5BA1F2 #F25BED #F2AC5B #5BF260
split-complementary
#5BA1F2 #F2605B #EDF25B
monochromatic
#0F63C3 #2280EE #5BA1F2 #94C2F6 #CCE2FB

Accessibility & contrast

On white

2.68
#5BA1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#5BA1F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5BA1F2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5BA1F2#FFFFFF#000000##000000
##5BA1F21.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F5
Deuteranopia (green-blind)
#6A97F0
Tritanopia (blue-blind)
#00B4BE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5ba1f2;
/* rgb */ color: rgb(91, 161, 242);
/* oklch */ color: oklch(69.9% 0.139 253.4);
Tailwind
colors: {
  custom: {
    50: '#96bcf6',
    500: '#5ba1f2',
    950: '#000000',
  },
}
SCSS
$custom: #5ba1f2;
$custom-light: #96bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5ba1f2",
  "rgb": {
    "r": 91,
    "g": 161,
    "b": 242
  },
  "hsl": {
    "h": 212.185,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69874,
    "c": 0.13922,
    "h": 253.4
  },
  "luminance": 0.34125
}

Semantic roles & 50–950 ramp

primary
#5BA1F2
secondary
#EED6BB
accent
#7B04E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5BA1F2

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

Preview Lab → · Contrast checker → · Palette generator →

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