#5F68EF#5F68EF

#5F68EF is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.5% C 0.200 H 275.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#5F68EF
RGBrgb(95, 104, 239)
HSLhsl(236, 82%, 65%)
HSVhsv(236, 60%, 94%)
CMYKcmyk(60.3%, 56.5%, 0%, 6.3%)
CIE-LABlab(50.17, 36.17, -69.26)
CIE-LCHlch(50.17, 78.14, 297.58°)
OKLaboklab(58.48% 0.019 -0.199)
OKLCHoklch(58.48% 0.2 275.5)
XYZxyz(25.2445, 18.5635, 83.8974)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68EF #EFE65F
analogous
#5FB0EF #5F68EF #9E5FEF
triadic
#5F68EF #EF5F68 #68EF5F
tetradic
#5F68EF #EF5FB0 #EFE65F #5FEF9E
square
#5F68EF #EF5FB0 #EFE65F #5FEF9E
split-complementary
#5F68EF #EF9E5F #B0EF5F
monochromatic
#131EC0 #2733E9 #5F68EF #979DF5 #CED1FA

Accessibility & contrast

On white

4.46
#5F68EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#5F68EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F68EF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68EF#FFFFFF#000000##000000
##5F68EF1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#0088A1
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f68ef;
/* rgb */ color: rgb(95, 104, 239);
/* oklch */ color: oklch(58.5% 0.200 275.5);
Tailwind
colors: {
  custom: {
    50: '#9993f5',
    500: '#5f68ef',
    950: '#000000',
  },
}
SCSS
$custom: #5f68ef;
$custom-light: #9993f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68ef",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 236.25,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.5848,
    "c": 0.19989,
    "h": 275.5
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#5F68EF
secondary
#EDEABD
accent
#D107DE
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F68EF

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

Preview Lab → · Contrast checker → · Palette generator →

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