#5F9AEB#5F9AEB

#5F9AEB is a light, vivid cyan. Relative luminance 0.315; OKLCH L 68.2% C 0.135 H 256.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5F9AEB
RGBrgb(95, 154, 235)
HSLhsl(215, 78%, 65%)
HSVhsv(215, 60%, 92%)
CMYKcmyk(59.6%, 34.5%, 0%, 7.8%)
CIE-LABlab(62.96, 4.80, -46.58)
CIE-LCHlch(62.96, 46.82, 275.89°)
OKLaboklab(68.17% -0.0313 -0.1318)
OKLCHoklch(68.17% 0.135 256.7)
XYZxyz(31.2650, 31.5395, 83.0213)
Luminance0.3154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9AEB #EBB05F
analogous
#5FE0EB #5F9AEB #6A5FEB
triadic
#5F9AEB #EB5F9A #9AEB5F
tetradic
#5F9AEB #EB5FE0 #EBB05F #5FEB6A
square
#5F9AEB #EB5FE0 #EBB05F #5FEB6A
split-complementary
#5F9AEB #EB6A5F #E0EB5F
monochromatic
#175BB9 #2978E4 #5F9AEB #95BCF2 #CCDFF9

Accessibility & contrast

On white

2.87
#5F9AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#5F9AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9AEB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9AEB#FFFFFF#000000##000000
##5F9AEB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0EE
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5f9aeb;
/* rgb */ color: rgb(95, 154, 235);
/* oklch */ color: oklch(68.2% 0.135 256.7);
Tailwind
colors: {
  custom: {
    50: '#97b7f2',
    500: '#5f9aeb',
    950: '#000000',
  },
}
SCSS
$custom: #5f9aeb;
$custom-light: #97b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9aeb",
  "rgb": {
    "r": 95,
    "g": 154,
    "b": 235
  },
  "hsl": {
    "h": 214.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68171,
    "c": 0.13549,
    "h": 256.7
  },
  "luminance": 0.31542
}

Semantic roles & 50–950 ramp

primary
#5F9AEB
secondary
#EBD7BB
accent
#830BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F9AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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