#5FA2F1#5FA2F1

#5FA2F1 is a light, vivid cyan. Relative luminance 0.346; OKLCH L 70.2% C 0.135 H 253.7°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#5FA2F1
RGBrgb(95, 162, 241)
HSLhsl(212, 84%, 66%)
HSVhsv(212, 61%, 95%)
CMYKcmyk(60.6%, 32.8%, 0%, 5.5%)
CIE-LABlab(65.45, 2.14, -45.94)
CIE-LCHlch(65.45, 45.99, 272.66°)
OKLaboklab(70.21% -0.038 -0.1299)
OKLCHoklch(70.21% 0.135 253.7)
XYZxyz(33.5111, 34.6213, 88.1186)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2F1 #F1AE5F
analogous
#5FEBF1 #5FA2F1 #655FF1
triadic
#5FA2F1 #F15FA2 #A2F15F
tetradic
#5FA2F1 #F15FEB #F1AE5F #5FF165
square
#5FA2F1 #F15FEB #F1AE5F #5FF165
split-complementary
#5FA2F1 #F1655F #EBF15F
monochromatic
#1163C4 #2781EC #5FA2F1 #97C3F6 #D0E3FB

Accessibility & contrast

On white

2.65
#5FA2F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#5FA2F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA2F1
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA2F1#FFFFFF#000000##000000
##5FA2F11.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F4
Deuteranopia (green-blind)
#6D99EF
Tritanopia (blue-blind)
#00B4BE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa2f1;
/* rgb */ color: rgb(95, 162, 241);
/* oklch */ color: oklch(70.2% 0.135 253.7);
Tailwind
colors: {
  custom: {
    50: '#98bdf6',
    500: '#5fa2f1',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2f1;
$custom-light: #98bdf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2f1",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 241
  },
  "hsl": {
    "h": 212.466,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70212,
    "c": 0.13536,
    "h": 253.7
  },
  "luminance": 0.34624
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5FA2F1

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

Preview Lab → · Contrast checker → · Palette generator →

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