#5F9AEF#5F9AEF

#5F9AEF is a light, vivid blue. Relative luminance 0.318; OKLCH L 68.4% C 0.141 H 257.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#5F9AEF
RGBrgb(95, 154, 239)
HSLhsl(215, 82%, 65%)
HSVhsv(215, 60%, 94%)
CMYKcmyk(60.3%, 35.6%, 0%, 6.3%)
CIE-LABlab(63.16, 6.10, -48.47)
CIE-LCHlch(63.16, 48.85, 277.18°)
OKLaboklab(68.39% -0.0303 -0.1374)
OKLCHoklch(68.39% 0.141 257.6)
XYZxyz(31.8494, 31.7732, 86.0990)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9AEF #EFB45F
analogous
#5FE2EF #5F9AEF #6C5FEF
triadic
#5F9AEF #EF5F9A #9AEF5F
tetradic
#5F9AEF #EF5FE2 #EFB45F #5FEF6C
square
#5F9AEF #EF5FE2 #EFB45F #5FEF6C
split-complementary
#5F9AEF #EF6C5F #E2EF5F
monochromatic
#135AC0 #2777E9 #5F9AEF #97BDF5 #CEE0FA

Accessibility & contrast

On white

2.86
#5F9AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#5F9AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9AEF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9AEF#FFFFFF#000000##000000
##5F9AEF1.002.867.367.36
#FFFFFF2.861.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F2
Deuteranopia (green-blind)
#6293ED
Tritanopia (blue-blind)
#00ADB9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5f9aef;
/* rgb */ color: rgb(95, 154, 239);
/* oklch */ color: oklch(68.4% 0.141 257.6);
Tailwind
colors: {
  custom: {
    50: '#98b7f4',
    500: '#5f9aef',
    950: '#000000',
  },
}
SCSS
$custom: #5f9aef;
$custom-light: #98b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9aef",
  "rgb": {
    "r": 95,
    "g": 154,
    "b": 239
  },
  "hsl": {
    "h": 215.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68387,
    "c": 0.14066,
    "h": 257.6
  },
  "luminance": 0.31776
}

Semantic roles & 50–950 ramp

primary
#5F9AEF
secondary
#EDD9BD
accent
#8607DE
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F9AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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