#5FA4F2#5FA4F2

#5FA4F2 is a light, vivid cyan. Relative luminance 0.354; OKLCH L 70.7% C 0.135 H 252.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5FA4F2
RGBrgb(95, 164, 242)
HSLhsl(212, 85%, 66%)
HSVhsv(212, 61%, 95%)
CMYKcmyk(60.7%, 32.2%, 0%, 5.1%)
CIE-LABlab(66.05, 1.32, -45.55)
CIE-LCHlch(66.05, 45.57, 271.66°)
OKLaboklab(70.7% -0.0398 -0.1287)
OKLCHoklch(70.7% 0.135 252.8)
XYZxyz(34.0160, 35.3915, 89.0258)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA4F2 #F2AD5F
analogous
#5FEDF2 #5FA4F2 #635FF2
triadic
#5FA4F2 #F25FA4 #A4F25F
tetradic
#5FA4F2 #F25FED #F2AD5F #5FF263
square
#5FA4F2 #F25FED #F2AD5F #5FF263
split-complementary
#5FA4F2 #F2635F #EDF25F
monochromatic
#1066C6 #2684ED #5FA4F2 #98C4F7 #D0E4FB

Accessibility & contrast

On white

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

On black

8.08
#5FA4F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA4F2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA4F2#FFFFFF#000000##000000
##5FA4F21.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#6F9AF0
Tritanopia (blue-blind)
#00B6C0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fa4f2;
/* rgb */ color: rgb(95, 164, 242);
/* oklch */ color: oklch(70.7% 0.135 252.8);
Tailwind
colors: {
  custom: {
    50: '#98bef6',
    500: '#5fa4f2',
    950: '#000000',
  },
}
SCSS
$custom: #5fa4f2;
$custom-light: #98bef6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa4f2",
  "rgb": {
    "r": 95,
    "g": 164,
    "b": 242
  },
  "hsl": {
    "h": 211.837,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70697,
    "c": 0.13476,
    "h": 252.8
  },
  "luminance": 0.35395
}

Semantic roles & 50–950 ramp

primary
#5FA4F2
secondary
#EFD8BE
accent
#7A04E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA4F2

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

Preview Lab → · Contrast checker → · Palette generator →

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