#5F68E0#5F68E0

#5F68E0 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.4% C 0.180 H 275.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5F68E0
RGBrgb(95, 104, 224)
HSLhsl(236, 68%, 63%)
HSVhsv(236, 58%, 88%)
CMYKcmyk(57.6%, 53.6%, 0%, 12.2%)
CIE-LABlab(49.15, 31.31, -62.49)
CIE-LCHlch(49.15, 69.89, 296.61°)
OKLaboklab(57.39% 0.0186 -0.179)
OKLCHoklch(57.39% 0.18 275.9)
XYZxyz(23.1198, 17.7137, 72.7073)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68E0 #E0D75F
analogous
#5FA8E0 #5F68E0 #975FE0
triadic
#5F68E0 #E05F68 #68E05F
tetradic
#5F68E0 #E05FA8 #E0D75F #5FE097
square
#5F68E0 #E05FA8 #E0D75F #5FE097
split-complementary
#5F68E0 #E0975F #A8E05F
monochromatic
#2029A5 #2C38D6 #5F68E0 #9298EA #C6C9F4

Accessibility & contrast

On white

4.62
#5F68E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5F68E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F68E0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68E0#FFFFFF#000000##FFFFFF
##5F68E01.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A7AE4
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f68e0;
/* rgb */ color: rgb(95, 104, 224);
/* oklch */ color: oklch(57.4% 0.180 275.9);
Tailwind
colors: {
  custom: {
    50: '#9793ea',
    500: '#5f68e0',
    950: '#000000',
  },
}
SCSS
$custom: #5f68e0;
$custom-light: #9793ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68e0",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 224
  },
  "hsl": {
    "h": 235.814,
    "s": 67.539,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5739,
    "c": 0.18,
    "h": 275.9
  },
  "luminance": 0.17715
}

Semantic roles & 50–950 ramp

primary
#5F68E0
secondary
#E5E2B6
accent
#C316CF
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #5F68E0

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

Preview Lab → · Contrast checker → · Palette generator →

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