#5FA2F4#5FA2F4

#5FA2F4 is a light, vivid cyan. Relative luminance 0.348; OKLCH L 70.4% C 0.139 H 254.5°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#5FA2F4
RGBrgb(95, 162, 244)
HSLhsl(213, 87%, 66%)
HSVhsv(213, 61%, 96%)
CMYKcmyk(61.1%, 33.6%, 0%, 4.3%)
CIE-LABlab(65.59, 3.11, -47.36)
CIE-LCHlch(65.59, 47.46, 273.75°)
OKLaboklab(70.37% -0.0373 -0.134)
OKLCHoklch(70.37% 0.139 254.5)
XYZxyz(33.9629, 34.8021, 90.4981)
Luminance0.3481 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2F4 #F4B15F
analogous
#5FEDF4 #5FA2F4 #675FF4
triadic
#5FA2F4 #F45FA2 #A2F45F
tetradic
#5FA2F4 #F45FED #F4B15F #5FF467
square
#5FA2F4 #F45FED #F4B15F #5FF467
split-complementary
#5FA2F4 #F4675F #EDF45F
monochromatic
#0E63CB #2681F0 #5FA2F4 #98C3F8 #D2E5FC

Accessibility & contrast

On white

2.64
#5FA2F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#5FA2F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA2F4
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA2F4#FFFFFF#000000##000000
##5FA2F41.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fa2f4;
/* rgb */ color: rgb(95, 162, 244);
/* oklch */ color: oklch(70.4% 0.139 254.5);
Tailwind
colors: {
  custom: {
    50: '#98bdf8',
    500: '#5fa2f4',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2f4;
$custom-light: #98bdf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2f4",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 244
  },
  "hsl": {
    "h": 213.02,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.13912,
    "h": 254.5
  },
  "luminance": 0.34805
}

Semantic roles & 50–950 ramp

primary
#5FA2F4
secondary
#F0DABF
accent
#7E02E4
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA2F4

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

Preview Lab → · Contrast checker → · Palette generator →

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