#5FA1F8#5FA1F8

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

Color values

HEX#5FA1F8
RGBrgb(95, 161, 248)
HSLhsl(214, 92%, 67%)
HSVhsv(214, 62%, 97%)
CMYKcmyk(61.7%, 35.1%, 0%, 2.7%)
CIE-LABlab(65.51, 4.98, -49.68)
CIE-LCHlch(65.51, 49.93, 275.73°)
OKLaboklab(70.37% -0.0352 -0.1408)
OKLCHoklch(70.37% 0.145 255.9)
XYZxyz(34.4014, 34.6967, 93.6729)
Luminance0.3470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1F8 #F8B65F
analogous
#5FEDF8 #5FA1F8 #6A5FF8
triadic
#5FA1F8 #F85FA1 #A1F85F
tetradic
#5FA1F8 #F85FED #F8B65F #5FF86A
square
#5FA1F8 #F85FED #F8B65F #5FF86A
split-complementary
#5FA1F8 #F86A5F #EDF85F
monochromatic
#0960D3 #247FF5 #5FA1F8 #9AC3FB #D4E6FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA1F8#FFFFFF#000000##000000
##5FA1F81.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FC
Deuteranopia (green-blind)
#6798F6
Tritanopia (blue-blind)
#00B5C1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa1f8;
/* rgb */ color: rgb(95, 161, 248);
/* oklch */ color: oklch(70.4% 0.145 255.9);
Tailwind
colors: {
  custom: {
    50: '#99bcfb',
    500: '#5fa1f8',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1f8;
$custom-light: #99bcfb;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1f8",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 248
  },
  "hsl": {
    "h": 214.118,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70368,
    "c": 0.14515,
    "h": 255.9
  },
  "luminance": 0.347
}

Semantic roles & 50–950 ramp

primary
#5FA1F8
secondary
#F2DDC1
accent
#8300E6
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1117
muted
#7F8085

Preview Lab

Preview with #5FA1F8

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

Preview Lab → · Contrast checker → · Palette generator →

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