#5F68ED#5F68ED

#5F68ED is a mid, vivid blue. Relative luminance 0.184; OKLCH L 58.3% C 0.197 H 275.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5F68ED
RGBrgb(95, 104, 237)
HSLhsl(236, 80%, 65%)
HSVhsv(236, 60%, 93%)
CMYKcmyk(59.9%, 56.1%, 0%, 7.1%)
CIE-LABlab(50.03, 35.52, -68.37)
CIE-LCHlch(50.03, 77.05, 297.46°)
OKLaboklab(58.33% 0.019 -0.1963)
OKLCHoklch(58.33% 0.197 275.5)
XYZxyz(24.9507, 18.4460, 82.3500)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68ED #EDE45F
analogous
#5FAFED #5F68ED #9D5FED
triadic
#5F68ED #ED5F68 #68ED5F
tetradic
#5F68ED #ED5FAF #EDE45F #5FED9D
square
#5F68ED #ED5FAF #EDE45F #5FED9D
split-complementary
#5F68ED #ED9D5F #AFED5F
monochromatic
#1520BC #2834E7 #5F68ED #969CF3 #CDD0F9

Accessibility & contrast

On white

4.48
#5F68ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5F68ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F68ED
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68ED#FFFFFF#000000##000000
##5F68ED1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#0088A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f68ed;
/* rgb */ color: rgb(95, 104, 237);
/* oklch */ color: oklch(58.3% 0.197 275.5);
Tailwind
colors: {
  custom: {
    50: '#9993f4',
    500: '#5f68ed',
    950: '#000000',
  },
}
SCSS
$custom: #5f68ed;
$custom-light: #9993f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68ed",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 236.197,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58332,
    "c": 0.19726,
    "h": 275.5
  },
  "luminance": 0.18448
}

Semantic roles & 50–950 ramp

primary
#5F68ED
secondary
#ECE9BC
accent
#CF09DC
background
#FAF9FF
surface
#F3F1FE
border
#CDCBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F68ED

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

Preview Lab → · Contrast checker → · Palette generator →

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