#5F9AED#5F9AED

#5F9AED is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.3% C 0.138 H 257.1°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#5F9AED
RGBrgb(95, 154, 237)
HSLhsl(215, 80%, 65%)
HSVhsv(215, 60%, 93%)
CMYKcmyk(59.9%, 35%, 0%, 7.1%)
CIE-LABlab(63.06, 5.45, -47.52)
CIE-LCHlch(63.06, 47.84, 276.55°)
OKLaboklab(68.28% -0.0308 -0.1346)
OKLCHoklch(68.28% 0.138 257.1)
XYZxyz(31.5556, 31.6557, 84.5516)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9AED #EDB25F
analogous
#5FE1ED #5F9AED #6B5FED
triadic
#5F9AED #ED5F9A #9AED5F
tetradic
#5F9AED #ED5FE1 #EDB25F #5FED6B
square
#5F9AED #ED5FE1 #EDB25F #5FED6B
split-complementary
#5F9AED #ED6B5F #E1ED5F
monochromatic
#155BBC #2877E7 #5F9AED #96BDF3 #CDDFF9

Accessibility & contrast

On white

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

On black

7.33
#5F9AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9AED
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9AED#FFFFFF#000000##000000
##5F9AED1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F0
Deuteranopia (green-blind)
#6492EB
Tritanopia (blue-blind)
#00ADB8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5f9aed;
/* rgb */ color: rgb(95, 154, 237);
/* oklch */ color: oklch(68.3% 0.138 257.1);
Tailwind
colors: {
  custom: {
    50: '#97b7f3',
    500: '#5f9aed',
    950: '#000000',
  },
}
SCSS
$custom: #5f9aed;
$custom-light: #97b7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9aed",
  "rgb": {
    "r": 95,
    "g": 154,
    "b": 237
  },
  "hsl": {
    "h": 215.07,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68279,
    "c": 0.13806,
    "h": 257.1
  },
  "luminance": 0.31659
}

Semantic roles & 50–950 ramp

primary
#5F9AED
secondary
#ECD8BC
accent
#8509DC
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F9AED

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

Preview Lab → · Contrast checker → · Palette generator →

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