#5FA2F2#5FA2F2

#5FA2F2 is a light, vivid cyan. Relative luminance 0.347; OKLCH L 70.3% C 0.137 H 253.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#5FA2F2
RGBrgb(95, 162, 242)
HSLhsl(213, 85%, 66%)
HSVhsv(213, 61%, 95%)
CMYKcmyk(60.7%, 33.1%, 0%, 5.1%)
CIE-LABlab(65.50, 2.46, -46.42)
CIE-LCHlch(65.50, 46.48, 273.03°)
OKLaboklab(70.26% -0.0378 -0.1313)
OKLCHoklch(70.26% 0.137 253.9)
XYZxyz(33.6609, 34.6812, 88.9074)
Luminance0.3468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2F2 #F2AF5F
analogous
#5FEBF2 #5FA2F2 #655FF2
triadic
#5FA2F2 #F25FA2 #A2F25F
tetradic
#5FA2F2 #F25FEB #F2AF5F #5FF265
square
#5FA2F2 #F25FEB #F2AF5F #5FF265
split-complementary
#5FA2F2 #F2655F #EBF25F
monochromatic
#1063C6 #2681ED #5FA2F2 #98C3F7 #D0E4FB

Accessibility & contrast

On white

2.65
#5FA2F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#5FA2F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA2F2
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA2F2#FFFFFF#000000##000000
##5FA2F21.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F5
Deuteranopia (green-blind)
#6C99F0
Tritanopia (blue-blind)
#00B4BF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa2f2;
/* rgb */ color: rgb(95, 162, 242);
/* oklch */ color: oklch(70.3% 0.137 253.9);
Tailwind
colors: {
  custom: {
    50: '#98bdf6',
    500: '#5fa2f2',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2f2;
$custom-light: #98bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2f2",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 242
  },
  "hsl": {
    "h": 212.653,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70264,
    "c": 0.13662,
    "h": 253.9
  },
  "luminance": 0.34684
}

Semantic roles & 50–950 ramp

primary
#5FA2F2
secondary
#EFD9BE
accent
#7D04E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA2F2

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

Preview Lab → · Contrast checker → · Palette generator →

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