#5F68E1#5F68E1

#5F68E1 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.5% C 0.181 H 275.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#5F68E1
RGBrgb(95, 104, 225)
HSLhsl(236, 68%, 63%)
HSVhsv(236, 58%, 88%)
CMYKcmyk(57.8%, 53.8%, 0%, 11.8%)
CIE-LABlab(49.21, 31.64, -62.95)
CIE-LCHlch(49.21, 70.45, 296.68°)
OKLaboklab(57.46% 0.0186 -0.1804)
OKLCHoklch(57.46% 0.181 275.9)
XYZxyz(23.2558, 17.7681, 73.4236)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F68E1 #E1D85F
analogous
#5FA9E1 #5F68E1 #975FE1
triadic
#5F68E1 #E15F68 #68E15F
tetradic
#5F68E1 #E15FA9 #E1D85F #5FE197
square
#5F68E1 #E15FA9 #E1D85F #5FE197
split-complementary
#5F68E1 #E1975F #A9E15F
monochromatic
#1F29A6 #2B37D7 #5F68E1 #9399EB #C6C9F4

Accessibility & contrast

On white

4.61
#5F68E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#5F68E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5F68E1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F68E1#FFFFFF#000000##FFFFFF
##5F68E11.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#187BE5
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#00849A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f68e1;
/* rgb */ color: rgb(95, 104, 225);
/* oklch */ color: oklch(57.5% 0.181 275.9);
Tailwind
colors: {
  custom: {
    50: '#9793eb',
    500: '#5f68e1',
    950: '#000000',
  },
}
SCSS
$custom: #5f68e1;
$custom-light: #9793eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5f68e1",
  "rgb": {
    "r": 95,
    "g": 104,
    "b": 225
  },
  "hsl": {
    "h": 235.846,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.18135,
    "h": 275.9
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F68E1

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

Preview Lab → · Contrast checker → · Palette generator →

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