#5F9BEB#5F9BEB

#5F9BEB is a light, vivid cyan. Relative luminance 0.319; OKLCH L 68.4% C 0.134 H 256.1°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5F9BEB
RGBrgb(95, 155, 235)
HSLhsl(214, 78%, 65%)
HSVhsv(214, 60%, 92%)
CMYKcmyk(59.6%, 34%, 0%, 7.8%)
CIE-LABlab(63.24, 4.23, -46.14)
CIE-LCHlch(63.24, 46.33, 275.23°)
OKLaboklab(68.39% -0.0323 -0.1305)
OKLCHoklch(68.39% 0.134 256.1)
XYZxyz(31.4307, 31.8709, 83.0765)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9BEB #EBAF5F
analogous
#5FE1EB #5F9BEB #695FEB
triadic
#5F9BEB #EB5F9B #9BEB5F
tetradic
#5F9BEB #EB5FE1 #EBAF5F #5FEB69
square
#5F9BEB #EB5FE1 #EBAF5F #5FEB69
split-complementary
#5F9BEB #EB695F #E1EB5F
monochromatic
#175CB9 #2979E4 #5F9BEB #95BDF2 #CCDFF9

Accessibility & contrast

On white

2.85
#5F9BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#5F9BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9BEB
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9BEB#FFFFFF#000000##000000
##5F9BEB1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A0EE
Deuteranopia (green-blind)
#6793E9
Tritanopia (blue-blind)
#00ADB8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5f9beb;
/* rgb */ color: rgb(95, 155, 235);
/* oklch */ color: oklch(68.4% 0.134 256.1);
Tailwind
colors: {
  custom: {
    50: '#97b8f2',
    500: '#5f9beb',
    950: '#000000',
  },
}
SCSS
$custom: #5f9beb;
$custom-light: #97b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9beb",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 235
  },
  "hsl": {
    "h": 214.286,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68387,
    "c": 0.13449,
    "h": 256.1
  },
  "luminance": 0.31874
}

Semantic roles & 50–950 ramp

primary
#5F9BEB
secondary
#EBD6BB
accent
#820BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F9BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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