#5F68E5#5F68E5

#5F68E5 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.7% C 0.187 H 275.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5F68E5
RGBrgb(95, 104, 229)
HSLhsl(236, 72%, 64%)
HSVhsv(236, 59%, 90%)
CMYKcmyk(58.5%, 54.6%, 0%, 10.2%)
CIE-LABlab(49.48, 32.93, -64.77)
CIE-LCHlch(49.48, 72.66, 296.95°)
OKLaboklab(57.75% 0.0188 -0.1857)
OKLCHoklch(57.75% 0.187 275.8)
XYZxyz(23.8079, 17.9889, 76.3312)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68E5 #E5DC5F
analogous
#5FABE5 #5F68E5 #995FE5
triadic
#5F68E5 #E55F68 #68E55F
tetradic
#5F68E5 #E55FAB #E5DC5F #5FE599
square
#5F68E5 #E55FAB #E5DC5F #5FE599
split-complementary
#5F68E5 #E5995F #ABE55F
monochromatic
#1C26AD #2A36DC #5F68E5 #949AEE #C8CBF6

Accessibility & contrast

On white

4.57
#5F68E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5F68E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F68E5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68E5#FFFFFF#000000##000000
##5F68E51.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#097BE9
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#00859C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f68e5;
/* rgb */ color: rgb(95, 104, 229);
/* oklch */ color: oklch(57.7% 0.187 275.8);
Tailwind
colors: {
  custom: {
    50: '#9893ee',
    500: '#5f68e5',
    950: '#000000',
  },
}
SCSS
$custom: #5f68e5;
$custom-light: #9893ee;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68e5",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 235.97,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57748,
    "c": 0.1867,
    "h": 275.8
  },
  "luminance": 0.17991
}

Semantic roles & 50–950 ramp

primary
#5F68E5
secondary
#E8E4B8
accent
#C711D4
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #5F68E5

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

Preview Lab → · Contrast checker → · Palette generator →

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