#5F7CED#5F7CED

#5F7CED is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.1% C 0.172 H 269.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#5F7CED
RGBrgb(95, 124, 237)
HSLhsl(228, 80%, 65%)
HSVhsv(228, 60%, 93%)
CMYKcmyk(59.9%, 47.7%, 0%, 7.1%)
CIE-LABlab(55.03, 23.36, -60.31)
CIE-LCHlch(55.03, 64.67, 291.17°)
OKLaboklab(62.09% -0.0002 -0.1724)
OKLCHoklch(62.09% 0.172 269.9)
XYZxyz(27.2079, 22.9604, 83.1023)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7CED #EDD05F
analogous
#5FC3ED #5F7CED #895FED
triadic
#5F7CED #ED5F7C #7CED5F
tetradic
#5F7CED #ED5FC3 #EDD05F #5FED89
square
#5F7CED #ED5FC3 #EDD05F #5FED89
split-complementary
#5F7CED #ED895F #C3ED5F
monochromatic
#1537BC #284FE7 #5F7CED #96A9F3 #CDD6F9

Accessibility & contrast

On white

3.75
#5F7CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#5F7CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7CED
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7CED#FFFFFF#000000##000000
##5F7CED1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF1
Deuteranopia (green-blind)
#297EEB
Tritanopia (blue-blind)
#0096A9
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f7ced;
/* rgb */ color: rgb(95, 124, 237);
/* oklch */ color: oklch(62.1% 0.172 269.9);
Tailwind
colors: {
  custom: {
    50: '#98a1f3',
    500: '#5f7ced',
    950: '#000000',
  },
}
SCSS
$custom: #5f7ced;
$custom-light: #98a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7ced",
  "rgb": {
    "r": 95,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 227.746,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.62094,
    "c": 0.17241,
    "h": 269.9
  },
  "luminance": 0.22963
}

Semantic roles & 50–950 ramp

primary
#5F7CED
secondary
#ECE2BC
accent
#B109DC
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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