#5FA1E4#5FA1E4

#5FA1E4 is a light, vivid cyan. Relative luminance 0.335; OKLCH L 69.3% C 0.120 H 250.3°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#5FA1E4
RGBrgb(95, 161, 228)
HSLhsl(210, 71%, 63%)
HSVhsv(210, 58%, 89%)
CMYKcmyk(58.3%, 29.4%, 0%, 10.6%)
CIE-LABlab(64.58, -1.45, -40.17)
CIE-LCHlch(64.58, 40.20, 267.93°)
OKLaboklab(69.33% -0.0406 -0.1131)
OKLCHoklch(69.33% 0.12 250.3)
XYZxyz(31.4627, 33.5213, 78.1960)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1E4 #E4A25F
analogous
#5FE3E4 #5FA1E4 #5F5FE4
triadic
#5FA1E4 #E45FA1 #A1E45F
tetradic
#5FA1E4 #E45FE3 #E4A25F #5FE45F
square
#5FA1E4 #E45FE3 #E4A25F #5FE45F
split-complementary
#5FA1E4 #E45F5F #E3E45F
monochromatic
#1D64AC #2B82DB #5FA1E4 #93C0ED #C8DFF6

Accessibility & contrast

On white

2.73
#5FA1E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#5FA1E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1E4
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1E4#FFFFFF#000000##000000
##5FA1E41.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A4E7
Deuteranopia (green-blind)
#7397E3
Tritanopia (blue-blind)
#00B1B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5fa1e4;
/* rgb */ color: rgb(95, 161, 228);
/* oklch */ color: oklch(69.3% 0.120 250.3);
Tailwind
colors: {
  custom: {
    50: '#96bced',
    500: '#5fa1e4',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1e4;
$custom-light: #96bced;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1e4",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 228
  },
  "hsl": {
    "h": 210.226,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69334,
    "c": 0.1202,
    "h": 250.3
  },
  "luminance": 0.33524
}

Semantic roles & 50–950 ramp

primary
#5FA1E4
secondary
#E7D0B8
accent
#7312D3
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #5FA1E4

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

Preview Lab → · Contrast checker → · Palette generator →

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