#5FA2EF#5FA2EF

#5FA2EF is a light, vivid cyan. Relative luminance 0.345; OKLCH L 70.1% C 0.133 H 253.1°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5FA2EF
RGBrgb(95, 162, 239)
HSLhsl(212, 82%, 65%)
HSVhsv(212, 60%, 94%)
CMYKcmyk(60.3%, 32.2%, 0%, 6.3%)
CIE-LABlab(65.36, 1.49, -45.00)
CIE-LCHlch(65.36, 45.02, 271.90°)
OKLaboklab(70.11% -0.0386 -0.1272)
OKLCHoklch(70.11% 0.133 253.1)
XYZxyz(33.2140, 34.5025, 86.5539)
Luminance0.3451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2EF #EFAC5F
analogous
#5FEAEF #5FA2EF #645FEF
triadic
#5FA2EF #EF5FA2 #A2EF5F
tetradic
#5FA2EF #EF5FEA #EFAC5F #5FEF64
square
#5FA2EF #EF5FEA #EFAC5F #5FEF64
split-complementary
#5FA2EF #EF645F #EAEF5F
monochromatic
#1364C0 #2782E9 #5FA2EF #97C2F5 #CEE3FA

Accessibility & contrast

On white

2.66
#5FA2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#5FA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA2EF
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA2EF#FFFFFF#000000##000000
##5FA2EF1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A6F2
Deuteranopia (green-blind)
#6E98ED
Tritanopia (blue-blind)
#00B4BE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa2ef;
/* rgb */ color: rgb(95, 162, 239);
/* oklch */ color: oklch(70.1% 0.133 253.1);
Tailwind
colors: {
  custom: {
    50: '#98bdf4',
    500: '#5fa2ef',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2ef;
$custom-light: #98bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2ef",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 212.083,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70109,
    "c": 0.13287,
    "h": 253.1
  },
  "luminance": 0.34506
}

Semantic roles & 50–950 ramp

primary
#5FA2EF
secondary
#EDD7BD
accent
#7A07DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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