#5FA0F2#5FA0F2

#5FA0F2 is a light, vivid cyan. Relative luminance 0.340; OKLCH L 69.8% C 0.139 H 255.1°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#5FA0F2
RGBrgb(95, 160, 242)
HSLhsl(213, 85%, 66%)
HSVhsv(213, 61%, 95%)
CMYKcmyk(60.7%, 33.9%, 0%, 5.1%)
CIE-LABlab(64.95, 3.61, -47.29)
CIE-LCHlch(64.95, 47.42, 274.36°)
OKLaboklab(69.83% -0.0357 -0.1338)
OKLCHoklch(69.83% 0.139 255.1)
XYZxyz(33.3114, 33.9822, 88.7909)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA0F2 #F2B15F
analogous
#5FEAF2 #5FA0F2 #675FF2
triadic
#5FA0F2 #F25FA0 #A0F25F
tetradic
#5FA0F2 #F25FEA #F2B15F #5FF267
square
#5FA0F2 #F25FEA #F2B15F #5FF267
split-complementary
#5FA0F2 #F2675F #EAF25F
monochromatic
#1061C6 #267EED #5FA0F2 #98C2F7 #D0E3FB

Accessibility & contrast

On white

2.69
#5FA0F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#5FA0F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA0F2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA0F2#FFFFFF#000000##000000
##5FA0F21.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F5
Deuteranopia (green-blind)
#6997F0
Tritanopia (blue-blind)
#00B3BE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fa0f2;
/* rgb */ color: rgb(95, 160, 242);
/* oklch */ color: oklch(69.8% 0.139 255.1);
Tailwind
colors: {
  custom: {
    50: '#98bbf7',
    500: '#5fa0f2',
    950: '#000000',
  },
}
SCSS
$custom: #5fa0f2;
$custom-light: #98bbf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa0f2",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 242
  },
  "hsl": {
    "h": 213.469,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69833,
    "c": 0.13852,
    "h": 255.1
  },
  "luminance": 0.33985
}

Semantic roles & 50–950 ramp

primary
#5FA0F2
secondary
#EFD9BE
accent
#8004E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5FA0F2

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

Preview Lab → · Contrast checker → · Palette generator →

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