#5FA1F1#5FA1F1

#5FA1F1 is a light, vivid cyan. Relative luminance 0.343; OKLCH L 70.0% C 0.136 H 254.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#5FA1F1
RGBrgb(95, 161, 241)
HSLhsl(213, 84%, 66%)
HSVhsv(213, 61%, 95%)
CMYKcmyk(60.6%, 33.2%, 0%, 5.5%)
CIE-LABlab(65.18, 2.71, -46.38)
CIE-LCHlch(65.18, 46.46, 273.34°)
OKLaboklab(70% -0.037 -0.1312)
OKLCHoklch(70% 0.136 254.2)
XYZxyz(33.3357, 34.2704, 88.0601)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1F1 #F1AF5F
analogous
#5FEAF1 #5FA1F1 #665FF1
triadic
#5FA1F1 #F15FA1 #A1F15F
tetradic
#5FA1F1 #F15FEA #F1AF5F #5FF166
square
#5FA1F1 #F15FEA #F1AF5F #5FF166
split-complementary
#5FA1F1 #F1665F #EAF15F
monochromatic
#1162C4 #2780EC #5FA1F1 #97C2F6 #D0E3FB

Accessibility & contrast

On white

2.67
#5FA1F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#5FA1F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1F1
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1F1#FFFFFF#000000##000000
##5FA1F11.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F4
Deuteranopia (green-blind)
#6B98EF
Tritanopia (blue-blind)
#00B3BE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fa1f1;
/* rgb */ color: rgb(95, 161, 241);
/* oklch */ color: oklch(70.0% 0.136 254.2);
Tailwind
colors: {
  custom: {
    50: '#98bcf6',
    500: '#5fa1f1',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1f1;
$custom-light: #98bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1f1",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 241
  },
  "hsl": {
    "h": 212.877,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69996,
    "c": 0.13631,
    "h": 254.2
  },
  "luminance": 0.34274
}

Semantic roles & 50–950 ramp

primary
#5FA1F1
secondary
#EED8BE
accent
#7D05E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA1F1

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

Preview Lab → · Contrast checker → · Palette generator →

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