#5F68E7#5F68E7

#5F68E7 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.9% C 0.189 H 275.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5F68E7
RGBrgb(95, 104, 231)
HSLhsl(236, 74%, 64%)
HSVhsv(236, 59%, 91%)
CMYKcmyk(58.9%, 55%, 0%, 9.4%)
CIE-LABlab(49.62, 33.58, -65.67)
CIE-LCHlch(49.62, 73.76, 297.08°)
OKLaboklab(57.89% 0.0188 -0.1884)
OKLCHoklch(57.89% 0.189 275.7)
XYZxyz(24.0888, 18.1012, 77.8103)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68E7 #E7DE5F
analogous
#5FACE7 #5F68E7 #9A5FE7
triadic
#5F68E7 #E75F68 #68E75F
tetradic
#5F68E7 #E75FAC #E7DE5F #5FE79A
square
#5F68E7 #E75FAC #E7DE5F #5FE79A
split-complementary
#5F68E7 #E79A5F #ACE75F
monochromatic
#1B25B1 #2A36DF #5F68E7 #949AEF #C9CCF7

Accessibility & contrast

On white

4.54
#5F68E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#5F68E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F68E7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68E7#FFFFFF#000000##000000
##5F68E71.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEB
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#00869D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f68e7;
/* rgb */ color: rgb(95, 104, 231);
/* oklch */ color: oklch(57.9% 0.189 275.7);
Tailwind
colors: {
  custom: {
    50: '#9893ef',
    500: '#5f68e7',
    950: '#000000',
  },
}
SCSS
$custom: #5f68e7;
$custom-light: #9893ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68e7",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 236.029,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.18935,
    "h": 275.7
  },
  "luminance": 0.18103
}

Semantic roles & 50–950 ramp

primary
#5F68E7
secondary
#E9E6B9
accent
#C90FD6
background
#FAF9FE
surface
#F3F1FD
border
#CDCBD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F68E7

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

Preview Lab → · Contrast checker → · Palette generator →

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