#5FA2F8#5FA2F8

#5FA2F8 is a light, vivid cyan. Relative luminance 0.351; OKLCH L 70.6% C 0.144 H 255.4°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5FA2F8
RGBrgb(95, 162, 248)
HSLhsl(214, 92%, 67%)
HSVhsv(214, 62%, 97%)
CMYKcmyk(61.7%, 34.7%, 0%, 2.7%)
CIE-LABlab(65.79, 4.41, -49.25)
CIE-LCHlch(65.79, 49.44, 275.11°)
OKLaboklab(70.58% -0.0362 -0.1395)
OKLCHoklch(70.58% 0.144 255.4)
XYZxyz(34.5768, 35.0476, 93.7314)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2F8 #F8B55F
analogous
#5FEFF8 #5FA2F8 #685FF8
triadic
#5FA2F8 #F85FA2 #A2F85F
tetradic
#5FA2F8 #F85FEF #F8B55F #5FF868
square
#5FA2F8 #F85FEF #F8B55F #5FF868
split-complementary
#5FA2F8 #F8685F #EFF85F
monochromatic
#0962D3 #2480F5 #5FA2F8 #9AC4FB #D4E6FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA2F8#FFFFFF#000000##000000
##5FA2F81.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)
#7DA8FC
Deuteranopia (green-blind)
#6899F6
Tritanopia (blue-blind)
#00B6C1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fa2f8;
/* rgb */ color: rgb(95, 162, 248);
/* oklch */ color: oklch(70.6% 0.144 255.4);
Tailwind
colors: {
  custom: {
    50: '#99bdfb',
    500: '#5fa2f8',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2f8;
$custom-light: #99bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2f8",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 248
  },
  "hsl": {
    "h": 213.725,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70582,
    "c": 0.14417,
    "h": 255.4
  },
  "luminance": 0.35051
}

Semantic roles & 50–950 ramp

primary
#5FA2F8
secondary
#F2DCC1
accent
#8100E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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