#5FA5F2#5FA5F2

#5FA5F2 is a light, vivid cyan. Relative luminance 0.358; OKLCH L 70.9% C 0.134 H 252.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#5FA5F2
RGBrgb(95, 165, 242)
HSLhsl(211, 85%, 66%)
HSVhsv(211, 61%, 95%)
CMYKcmyk(60.7%, 31.8%, 0%, 5.1%)
CIE-LABlab(66.33, 0.75, -45.11)
CIE-LCHlch(66.33, 45.12, 270.95°)
OKLaboklab(70.91% -0.0409 -0.1275)
OKLCHoklch(70.91% 0.134 252.2)
XYZxyz(34.1957, 35.7508, 89.0857)
Luminance0.3575 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA5F2 #F2AC5F
analogous
#5FEEF2 #5FA5F2 #625FF2
triadic
#5FA5F2 #F25FA5 #A5F25F
tetradic
#5FA5F2 #F25FEE #F2AC5F #5FF262
square
#5FA5F2 #F25FEE #F2AC5F #5FF262
split-complementary
#5FA5F2 #F2625F #EEF25F
monochromatic
#1067C6 #2685ED #5FA5F2 #98C5F7 #D0E5FB

Accessibility & contrast

On white

2.58
#5FA5F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#5FA5F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA5F2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA5F2#FFFFFF#000000##000000
##5FA5F21.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F5
Deuteranopia (green-blind)
#709BF0
Tritanopia (blue-blind)
#00B7C1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5fa5f2;
/* rgb */ color: rgb(95, 165, 242);
/* oklch */ color: oklch(70.9% 0.134 252.2);
Tailwind
colors: {
  custom: {
    50: '#98bff6',
    500: '#5fa5f2',
    950: '#000000',
  },
}
SCSS
$custom: #5fa5f2;
$custom-light: #98bff6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa5f2",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 242
  },
  "hsl": {
    "h": 211.429,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70914,
    "c": 0.13385,
    "h": 252.2
  },
  "luminance": 0.35754
}

Semantic roles & 50–950 ramp

primary
#5FA5F2
secondary
#EFD8BE
accent
#7804E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA5F2

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

Preview Lab → · Contrast checker → · Palette generator →

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