#5FA3F2#5FA3F2

#5FA3F2 is a light, vivid cyan. Relative luminance 0.350; OKLCH L 70.5% C 0.136 H 253.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5FA3F2
RGBrgb(95, 163, 242)
HSLhsl(212, 85%, 66%)
HSVhsv(212, 61%, 95%)
CMYKcmyk(60.7%, 32.6%, 0%, 5.1%)
CIE-LABlab(65.78, 1.89, -45.98)
CIE-LCHlch(65.78, 46.02, 272.35°)
OKLaboklab(70.48% -0.0388 -0.13)
OKLCHoklch(70.48% 0.136 253.4)
XYZxyz(33.8377, 35.0350, 88.9664)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA3F2 #F2AE5F
analogous
#5FECF2 #5FA3F2 #645FF2
triadic
#5FA3F2 #F25FA3 #A3F25F
tetradic
#5FA3F2 #F25FEC #F2AE5F #5FF264
square
#5FA3F2 #F25FEC #F2AE5F #5FF264
split-complementary
#5FA3F2 #F2645F #ECF25F
monochromatic
#1064C6 #2682ED #5FA3F2 #98C4F7 #D0E4FB

Accessibility & contrast

On white

2.62
#5FA3F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#5FA3F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA3F2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA3F2#FFFFFF#000000##000000
##5FA3F21.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F5
Deuteranopia (green-blind)
#6E99F0
Tritanopia (blue-blind)
#00B5BF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fa3f2;
/* rgb */ color: rgb(95, 163, 242);
/* oklch */ color: oklch(70.5% 0.136 253.4);
Tailwind
colors: {
  custom: {
    50: '#98bdf6',
    500: '#5fa3f2',
    950: '#000000',
  },
}
SCSS
$custom: #5fa3f2;
$custom-light: #98bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa3f2",
  "rgb": {
    "r": 95,
    "g": 163,
    "b": 242
  },
  "hsl": {
    "h": 212.245,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70481,
    "c": 0.13568,
    "h": 253.4
  },
  "luminance": 0.35038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5FA3F2

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

Preview Lab → · Contrast checker → · Palette generator →

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