#5F6CED#5F6CED

#5F6CED is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.1% C 0.192 H 274.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5F6CED
RGBrgb(95, 108, 237)
HSLhsl(235, 80%, 65%)
HSVhsv(235, 60%, 93%)
CMYKcmyk(59.9%, 54.4%, 0%, 7.1%)
CIE-LABlab(51.00, 33.10, -66.80)
CIE-LCHlch(51.00, 74.55, 296.36°)
OKLaboklab(59.06% 0.0153 -0.1917)
OKLCHoklch(59.06% 0.192 274.6)
XYZxyz(25.3629, 19.2704, 82.4874)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6CED #EDE05F
analogous
#5FB3ED #5F6CED #995FED
triadic
#5F6CED #ED5F6C #6CED5F
tetradic
#5F6CED #ED5FB3 #EDE05F #5FED99
square
#5F6CED #ED5FB3 #EDE05F #5FED99
split-complementary
#5F6CED #ED995F #B3ED5F
monochromatic
#1525BC #2839E7 #5F6CED #969FF3 #CDD1F9

Accessibility & contrast

On white

4.33
#5F6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5F6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6CED
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6CED#FFFFFF#000000##000000
##5F6CED1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0680F1
Deuteranopia (green-blind)
#0074EA
Tritanopia (blue-blind)
#008AA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6ced;
/* rgb */ color: rgb(95, 108, 237);
/* oklch */ color: oklch(59.1% 0.192 274.6);
Tailwind
colors: {
  custom: {
    50: '#9996f4',
    500: '#5f6ced',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ced;
$custom-light: #9996f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ced",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 234.507,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59055,
    "c": 0.1923,
    "h": 274.6
  },
  "luminance": 0.19272
}

Semantic roles & 50–950 ramp

primary
#5F6CED
secondary
#ECE8BC
accent
#C909DC
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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