#5EA1FB#5EA1FB

#5EA1FB is a light, vivid cyan. Relative luminance 0.348; OKLCH L 70.5% C 0.149 H 256.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5EA1FB
RGBrgb(94, 161, 251)
HSLhsl(214, 95%, 68%)
HSVhsv(214, 63%, 98%)
CMYKcmyk(62.5%, 35.9%, 0%, 1.6%)
CIE-LABlab(65.62, 5.79, -51.15)
CIE-LCHlch(65.62, 51.48, 276.46°)
OKLaboklab(70.49% -0.0353 -0.1451)
OKLCHoklch(70.49% 0.149 256.3)
XYZxyz(34.7673, 34.8312, 96.1389)
Luminance0.3483 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA1FB #FBB85E
analogous
#5EF0FB #5EA1FB #695EFB
triadic
#5EA1FB #FB5EA1 #A1FB5E
tetradic
#5EA1FB #FB5EF0 #FBB85E #5EFB69
square
#5EA1FB #FB5EF0 #FBB85E #5EFB69
split-complementary
#5EA1FB #FB695E #F0FB5E
monochromatic
#0560D9 #227EFA #5EA1FB #9AC4FC #D5E7FE

Accessibility & contrast

On white

2.64
#5EA1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#5EA1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EA1FB
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA1FB#FFFFFF#000000##000000
##5EA1FB1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FF
Deuteranopia (green-blind)
#6499F9
Tritanopia (blue-blind)
#00B6C2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ea1fb;
/* rgb */ color: rgb(94, 161, 251);
/* oklch */ color: oklch(70.5% 0.149 256.3);
Tailwind
colors: {
  custom: {
    50: '#99bcfd',
    500: '#5ea1fb',
    950: '#000000',
  },
}
SCSS
$custom: #5ea1fb;
$custom-light: #99bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea1fb",
  "rgb": {
    "r": 94,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 214.395,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70486,
    "c": 0.14936,
    "h": 256.3
  },
  "luminance": 0.34834
}

Semantic roles & 50–950 ramp

primary
#5EA1FB
secondary
#F3DEC2
accent
#8400E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5EA1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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