#5F6DCE#5F6DCE

#5F6DCE is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.1% C 0.149 H 274.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5F6DCE
RGBrgb(95, 109, 206)
HSLhsl(232, 53%, 59%)
HSVhsv(232, 54%, 81%)
CMYKcmyk(53.9%, 47.1%, 0%, 19.2%)
CIE-LABlab(49.28, 22.43, -52.04)
CIE-LCHlch(49.28, 56.67, 293.31°)
OKLaboklab(57.13% 0.0117 -0.1483)
OKLCHoklch(57.13% 0.149 274.5)
XYZxyz(21.3250, 17.8250, 60.6974)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DCE #CEC05F
analogous
#5FA5CE #5F6DCE #895FCE
triadic
#5F6DCE #CE5F6D #6DCE5F
tetradic
#5F6DCE #CE5FA5 #CEC05F #5FCE89
square
#5F6DCE #CE5FA5 #CEC05F #5FCE89
split-complementary
#5F6DCE #CE895F #A5CE5F
monochromatic
#2A3689 #3848B8 #5F6DCE #8E98DC #BDC3EB

Accessibility & contrast

On white

4.60
#5F6DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#5F6DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6DCE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DCE#FFFFFF#000000##FFFFFF
##5F6DCE1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#407AD2
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#288293
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f6dce;
/* rgb */ color: rgb(95, 109, 206);
/* oklch */ color: oklch(57.1% 0.149 274.5);
Tailwind
colors: {
  custom: {
    50: '#9496dd',
    500: '#5f6dce',
    950: '#000000',
  },
}
SCSS
$custom: #5f6dce;
$custom-light: #9496dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6dce",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 206
  },
  "hsl": {
    "h": 232.432,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5713,
    "c": 0.14874,
    "h": 274.5
  },
  "luminance": 0.17826
}

Semantic roles & 50–950 ramp

primary
#5F6DCE
secondary
#DAD5AF
accent
#CA4BDD
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5F6DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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