#5FA4F1#5FA4F1

#5FA4F1 is a light, vivid cyan. Relative luminance 0.353; OKLCH L 70.6% C 0.134 H 252.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5FA4F1
RGBrgb(95, 164, 241)
HSLhsl(212, 84%, 66%)
HSVhsv(212, 61%, 95%)
CMYKcmyk(60.6%, 32%, 0%, 5.5%)
CIE-LABlab(66.01, 1.00, -45.07)
CIE-LCHlch(66.01, 45.08, 271.27°)
OKLaboklab(70.65% -0.0401 -0.1274)
OKLCHoklch(70.65% 0.134 252.5)
XYZxyz(33.8662, 35.3315, 88.2370)
Luminance0.3533 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA4F1 #F1AC5F
analogous
#5FEDF1 #5FA4F1 #635FF1
triadic
#5FA4F1 #F15FA4 #A4F15F
tetradic
#5FA4F1 #F15FED #F1AC5F #5FF163
square
#5FA4F1 #F15FED #F1AC5F #5FF163
split-complementary
#5FA4F1 #F1635F #EDF15F
monochromatic
#1166C4 #2784EC #5FA4F1 #97C4F6 #D0E4FB

Accessibility & contrast

On white

2.60
#5FA4F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#5FA4F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA4F1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA4F1#FFFFFF#000000##000000
##5FA4F11.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F4
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#00B6C0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fa4f1;
/* rgb */ color: rgb(95, 164, 241);
/* oklch */ color: oklch(70.6% 0.134 252.5);
Tailwind
colors: {
  custom: {
    50: '#98bef6',
    500: '#5fa4f1',
    950: '#000000',
  },
}
SCSS
$custom: #5fa4f1;
$custom-light: #98bef6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa4f1",
  "rgb": {
    "r": 95,
    "g": 164,
    "b": 241
  },
  "hsl": {
    "h": 211.644,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70646,
    "c": 0.13353,
    "h": 252.5
  },
  "luminance": 0.35335
}

Semantic roles & 50–950 ramp

primary
#5FA4F1
secondary
#EED7BE
accent
#7905E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA4F1

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

Preview Lab → · Contrast checker → · Palette generator →

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