#5FA2EB#5FA2EB

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

Color values

HEX#5FA2EB
RGBrgb(95, 162, 235)
HSLhsl(211, 78%, 65%)
HSVhsv(211, 60%, 92%)
CMYKcmyk(59.6%, 31.1%, 0%, 7.8%)
CIE-LABlab(65.18, 0.21, -43.09)
CIE-LCHlch(65.18, 43.09, 270.28°)
OKLaboklab(69.9% -0.0397 -0.1216)
OKLCHoklch(69.9% 0.128 251.9)
XYZxyz(32.6296, 34.2687, 83.4761)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2EB #EBA85F
analogous
#5FE8EB #5FA2EB #625FEB
triadic
#5FA2EB #EB5FA2 #A2EB5F
tetradic
#5FA2EB #EB5FE8 #EBA85F #5FEB62
square
#5FA2EB #EB5FE8 #EBA85F #5FEB62
split-complementary
#5FA2EB #EB625F #E8EB5F
monochromatic
#1764B9 #2982E4 #5FA2EB #95C2F2 #CCE1F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA2EB#FFFFFF#000000##000000
##5FA2EB1.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)
#83A6EE
Deuteranopia (green-blind)
#7198EA
Tritanopia (blue-blind)
#00B3BC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fa2eb;
/* rgb */ color: rgb(95, 162, 235);
/* oklch */ color: oklch(69.9% 0.128 251.9);
Tailwind
colors: {
  custom: {
    50: '#97bdf1',
    500: '#5fa2eb',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2eb;
$custom-light: #97bdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2eb",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 211.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69904,
    "c": 0.12791,
    "h": 251.9
  },
  "luminance": 0.34272
}

Semantic roles & 50–950 ramp

primary
#5FA2EB
secondary
#EBD4BB
accent
#770BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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