#5EA1F2#5EA1F2

#5EA1F2 is a light, vivid cyan. Relative luminance 0.343; OKLCH L 70.0% C 0.138 H 254.2°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#5EA1F2
RGBrgb(94, 161, 242)
HSLhsl(213, 85%, 66%)
HSVhsv(213, 61%, 95%)
CMYKcmyk(61.2%, 33.5%, 0%, 5.1%)
CIE-LABlab(65.18, 2.85, -46.92)
CIE-LCHlch(65.18, 47.01, 273.48°)
OKLaboklab(70% -0.0375 -0.1328)
OKLCHoklch(70% 0.138 254.2)
XYZxyz(33.3822, 34.2771, 88.8441)
Luminance0.3428 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5EA1F2 #F2AF5E
analogous
#5EEBF2 #5EA1F2 #655EF2
triadic
#5EA1F2 #F25EA1 #A1F25E
tetradic
#5EA1F2 #F25EEB #F2AF5E #5EF265
square
#5EA1F2 #F25EEB #F2AF5E #5EF265
split-complementary
#5EA1F2 #F2655E #EBF25E
monochromatic
#1062C6 #2580ED #5EA1F2 #97C2F7 #CFE3FB

Accessibility & contrast

On white

2.67
#5EA1F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#5EA1F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5EA1F2
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5EA1F2#FFFFFF#000000##000000
##5EA1F21.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5ea1f2;
/* rgb */ color: rgb(94, 161, 242);
/* oklch */ color: oklch(70.0% 0.138 254.2);
Tailwind
colors: {
  custom: {
    50: '#98bcf6',
    500: '#5ea1f2',
    950: '#000000',
  },
}
SCSS
$custom: #5ea1f2;
$custom-light: #98bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5ea1f2",
  "rgb": {
    "r": 94,
    "g": 161,
    "b": 242
  },
  "hsl": {
    "h": 212.838,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70004,
    "c": 0.13798,
    "h": 254.2
  },
  "luminance": 0.3428
}

Semantic roles & 50–950 ramp

primary
#5EA1F2
secondary
#EED8BD
accent
#7D04E2
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5EA1F2

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

Preview Lab → · Contrast checker → · Palette generator →

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