#5F68CC#5F68CC

#5F68CC is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.0% C 0.153 H 276.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5F68CC
RGBrgb(95, 104, 204)
HSLhsl(235, 52%, 59%)
HSVhsv(235, 53%, 80%)
CMYKcmyk(53.4%, 49%, 0%, 20%)
CIE-LABlab(47.87, 24.87, -53.17)
CIE-LCHlch(47.87, 58.70, 295.07°)
OKLaboklab(56.02% 0.0171 -0.1516)
OKLCHoklch(56.02% 0.153 276.4)
XYZxyz(20.5653, 16.6918, 59.2532)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68CC #CCC35F
analogous
#5F9ECC #5F68CC #8C5FCC
triadic
#5F68CC #CC5F68 #68CC5F
tetradic
#5F68CC #CC5F9E #CCC35F #5FCC8C
square
#5F68CC #CC5F9E #CCC35F #5FCC8C
split-complementary
#5F68CC #CC8C5F #9ECC5F
monochromatic
#2B3286 #3944B4 #5F68CC #8D94DB #BCC0EA

Accessibility & contrast

On white

4.84
#5F68CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#5F68CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F68CC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68CC#FFFFFF#000000##FFFFFF
##5F68CC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#2A6DCA
Tritanopia (blue-blind)
#2C7E90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5f68cc;
/* rgb */ color: rgb(95, 104, 204);
/* oklch */ color: oklch(56.0% 0.153 276.4);
Tailwind
colors: {
  custom: {
    50: '#9493dc',
    500: '#5f68cc',
    950: '#000000',
  },
}
SCSS
$custom: #5f68cc;
$custom-light: #9493dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68cc",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 235.046,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5602,
    "c": 0.15258,
    "h": 276.4
  },
  "luminance": 0.16693
}

Semantic roles & 50–950 ramp

primary
#5F68CC
secondary
#D9D5AE
accent
#CF4DDB
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #5F68CC

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

Preview Lab → · Contrast checker → · Palette generator →

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