#5F9CEB#5F9CEB

#5F9CEB is a light, vivid cyan. Relative luminance 0.322; OKLCH L 68.6% C 0.134 H 255.5°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5F9CEB
RGBrgb(95, 156, 235)
HSLhsl(214, 78%, 65%)
HSVhsv(214, 60%, 92%)
CMYKcmyk(59.6%, 33.6%, 0%, 7.8%)
CIE-LABlab(63.51, 3.65, -45.71)
CIE-LCHlch(63.51, 45.85, 274.56°)
OKLaboklab(68.6% -0.0333 -0.1293)
OKLCHoklch(68.6% 0.134 255.5)
XYZxyz(31.5978, 32.2052, 83.1322)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9CEB #EBAE5F
analogous
#5FE2EB #5F9CEB #685FEB
triadic
#5F9CEB #EB5F9C #9CEB5F
tetradic
#5F9CEB #EB5FE2 #EBAE5F #5FEB68
square
#5F9CEB #EB5FE2 #EBAE5F #5FEB68
split-complementary
#5F9CEB #EB685F #E2EB5F
monochromatic
#175DB9 #297AE4 #5F9CEB #95BEF2 #CCDFF9

Accessibility & contrast

On white

2.82
#5F9CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#5F9CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9CEB
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9CEB#FFFFFF#000000##000000
##5F9CEB1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EE
Deuteranopia (green-blind)
#6894E9
Tritanopia (blue-blind)
#00AEB9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5f9ceb;
/* rgb */ color: rgb(95, 156, 235);
/* oklch */ color: oklch(68.6% 0.134 255.5);
Tailwind
colors: {
  custom: {
    50: '#97b8f2',
    500: '#5f9ceb',
    950: '#000000',
  },
}
SCSS
$custom: #5f9ceb;
$custom-light: #97b8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9ceb",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 235
  },
  "hsl": {
    "h": 213.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68602,
    "c": 0.1335,
    "h": 255.5
  },
  "luminance": 0.32208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F9CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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