#5F6CDA#5F6CDA

#5F6CDA is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.7% C 0.167 H 274.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5F6CDA
RGBrgb(95, 108, 218)
HSLhsl(234, 62%, 61%)
HSVhsv(234, 56%, 85%)
CMYKcmyk(56.4%, 50.5%, 0%, 14.5%)
CIE-LABlab(49.76, 26.92, -58.11)
CIE-LCHlch(49.76, 64.04, 294.86°)
OKLaboklab(57.73% 0.0141 -0.1661)
OKLCHoklch(57.73% 0.167 274.9)
XYZxyz(22.7327, 18.2183, 68.6346)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6CDA #DACD5F
analogous
#5FAADA #5F6CDA #905FDA
triadic
#5F6CDA #DA5F6C #6CDA5F
tetradic
#5F6CDA #DA5FAA #DACD5F #5FDA90
square
#5F6CDA #DA5FAA #DACD5F #5FDA90
split-complementary
#5F6CDA #DA905F #AADA5F
monochromatic
#24309B #2F40CD #5F6CDA #919AE5 #C2C7F1

Accessibility & contrast

On white

4.52
#5F6CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5F6CDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6CDA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6CDA#FFFFFF#000000##000000
##5F6CDA1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#327CDE
Deuteranopia (green-blind)
#1B71D8
Tritanopia (blue-blind)
#148599
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f6cda;
/* rgb */ color: rgb(95, 108, 218);
/* oklch */ color: oklch(57.7% 0.167 274.9);
Tailwind
colors: {
  custom: {
    50: '#9695e6',
    500: '#5f6cda',
    950: '#000000',
  },
}
SCSS
$custom: #5f6cda;
$custom-light: #9695e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6cda",
  "rgb": {
    "r": 95,
    "g": 108,
    "b": 218
  },
  "hsl": {
    "h": 233.659,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.16671,
    "h": 274.9
  },
  "luminance": 0.1822
}

Semantic roles & 50–950 ramp

primary
#5F6CDA
secondary
#E1DDB3
accent
#B81BCA
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F6CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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