#5F68EA#5F68EA

#5F68EA is a mid, vivid blue. Relative luminance 0.183; OKLCH L 58.1% C 0.193 H 275.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#5F68EA
RGBrgb(95, 104, 234)
HSLhsl(236, 77%, 65%)
HSVhsv(236, 59%, 92%)
CMYKcmyk(59.4%, 55.6%, 0%, 8.2%)
CIE-LABlab(49.82, 34.55, -67.03)
CIE-LCHlch(49.82, 75.41, 297.27°)
OKLaboklab(58.11% 0.0189 -0.1924)
OKLCHoklch(58.11% 0.193 275.6)
XYZxyz(24.5161, 18.2722, 80.0609)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68EA #EAE15F
analogous
#5FAEEA #5F68EA #9C5FEA
triadic
#5F68EA #EA5F68 #68EA5F
tetradic
#5F68EA #EA5FAE #EAE15F #5FEA9C
square
#5F68EA #EA5FAE #EAE15F #5FEA9C
split-complementary
#5F68EA #EA9C5F #AEEA5F
monochromatic
#1822B7 #2935E3 #5F68EA #959BF1 #CBCEF8

Accessibility & contrast

On white

4.51
#5F68EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#5F68EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F68EA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68EA#FFFFFF#000000##000000
##5F68EA1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#00879F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f68ea;
/* rgb */ color: rgb(95, 104, 234);
/* oklch */ color: oklch(58.1% 0.193 275.6);
Tailwind
colors: {
  custom: {
    50: '#9993f2',
    500: '#5f68ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f68ea;
$custom-light: #9993f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68ea",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 236.115,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.19332,
    "h": 275.6
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#5F68EA
secondary
#EAE7BA
accent
#CC0CD9
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F68EA

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

Preview Lab → · Contrast checker → · Palette generator →

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