#5FA2F5#5FA2F5

#5FA2F5 is a light, vivid cyan. Relative luminance 0.349; OKLCH L 70.4% C 0.140 H 254.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5FA2F5
RGBrgb(95, 162, 245)
HSLhsl(213, 88%, 67%)
HSVhsv(213, 61%, 96%)
CMYKcmyk(61.2%, 33.9%, 0%, 3.9%)
CIE-LABlab(65.64, 3.43, -47.83)
CIE-LCHlch(65.64, 47.96, 274.10°)
OKLaboklab(70.42% -0.037 -0.1354)
OKLCHoklch(70.42% 0.14 254.7)
XYZxyz(34.1152, 34.8630, 91.2999)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2F5 #F5B25F
analogous
#5FEDF5 #5FA2F5 #675FF5
triadic
#5FA2F5 #F55FA2 #A2F55F
tetradic
#5FA2F5 #F55FED #F5B25F #5FF567
square
#5FA2F5 #F55FED #F5B25F #5FF567
split-complementary
#5FA2F5 #F5675F #EDF55F
monochromatic
#0D63CD #2581F1 #5FA2F5 #99C3F9 #D2E5FC

Accessibility & contrast

On white

2.63
#5FA2F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#5FA2F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA2F5
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA2F5#FFFFFF#000000##000000
##5FA2F51.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F8
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#00B5C0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa2f5;
/* rgb */ color: rgb(95, 162, 245);
/* oklch */ color: oklch(70.4% 0.140 254.7);
Tailwind
colors: {
  custom: {
    50: '#98bdf9',
    500: '#5fa2f5',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2f5;
$custom-light: #98bdf9;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2f5",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 245
  },
  "hsl": {
    "h": 213.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70422,
    "c": 0.14038,
    "h": 254.7
  },
  "luminance": 0.34866
}

Semantic roles & 50–950 ramp

primary
#5FA2F5
secondary
#F0DAC0
accent
#7F01E5
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA2F5

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

Preview Lab → · Contrast checker → · Palette generator →

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