#5FA1EA#5FA1EA

#5FA1EA is a light, vivid cyan. Relative luminance 0.339; OKLCH L 69.6% C 0.128 H 252.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#5FA1EA
RGBrgb(95, 161, 234)
HSLhsl(212, 77%, 65%)
HSVhsv(212, 59%, 92%)
CMYKcmyk(59.4%, 31.2%, 0%, 8.2%)
CIE-LABlab(64.85, 0.46, -43.05)
CIE-LCHlch(64.85, 43.05, 270.61°)
OKLaboklab(69.64% -0.0389 -0.1215)
OKLCHoklch(69.64% 0.128 252.2)
XYZxyz(32.3101, 33.8602, 82.6589)
Luminance0.3386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1EA #EAA85F
analogous
#5FE7EA #5FA1EA #635FEA
triadic
#5FA1EA #EA5FA1 #A1EA5F
tetradic
#5FA1EA #EA5FE7 #EAA85F #5FEA63
square
#5FA1EA #EA5FE7 #EAA85F #5FEA63
split-complementary
#5FA1EA #EA635F #E7EA5F
monochromatic
#1863B7 #2981E3 #5FA1EA #95C1F1 #CBE1F8

Accessibility & contrast

On white

2.70
#5FA1EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#5FA1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1EA
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1EA#FFFFFF#000000##000000
##5FA1EA1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5ED
Deuteranopia (green-blind)
#7097E9
Tritanopia (blue-blind)
#00B2BB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5fa1ea;
/* rgb */ color: rgb(95, 161, 234);
/* oklch */ color: oklch(69.6% 0.128 252.2);
Tailwind
colors: {
  custom: {
    50: '#97bcf1',
    500: '#5fa1ea',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1ea;
$custom-light: #97bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1ea",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 211.511,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69635,
    "c": 0.12756,
    "h": 252.2
  },
  "luminance": 0.33863
}

Semantic roles & 50–950 ramp

primary
#5FA1EA
secondary
#EAD4BA
accent
#780CD9
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #5FA1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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