#5A68DF#5A68DF

#5A68DF is a mid, vivid blue. Relative luminance 0.174; OKLCH L 57.0% C 0.180 H 274.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5A68DF
RGBrgb(90, 104, 223)
HSLhsl(234, 68%, 61%)
HSVhsv(234, 60%, 87%)
CMYKcmyk(59.6%, 53.4%, 0%, 12.5%)
CIE-LABlab(48.76, 30.08, -62.56)
CIE-LCHlch(48.76, 69.42, 295.68°)
OKLaboklab(57% 0.0131 -0.1794)
OKLCHoklch(57% 0.18 274.2)
XYZxyz(22.4817, 17.4002, 71.9716)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68DF #DFD15A
analogous
#5AABDF #5A68DF #8F5ADF
triadic
#5A68DF #DF5A68 #68DF5A
tetradic
#5A68DF #DF5AAB #DFD15A #5ADF8F
square
#5A68DF #DF5AAB #DFD15A #5ADF8F
split-complementary
#5A68DF #DF8F5A #ABDF5A
monochromatic
#1F2DA0 #293BD3 #5A68DF #8D97E9 #C1C6F3

Accessibility & contrast

On white

4.69
#5A68DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#5A68DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68DF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68DF#FFFFFF#000000##FFFFFF
##5A68DF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A7AE3
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#008499
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5a68df;
/* rgb */ color: rgb(90, 104, 223);
/* oklch */ color: oklch(57.0% 0.180 274.2);
Tailwind
colors: {
  custom: {
    50: '#9493ea',
    500: '#5a68df',
    950: '#000000',
  },
}
SCSS
$custom: #5a68df;
$custom-light: #9493ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68df",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 233.684,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56996,
    "c": 0.17986,
    "h": 274.2
  },
  "luminance": 0.17402
}

Semantic roles & 50–950 ramp

primary
#5A68DF
secondary
#E3DEB2
accent
#BC16CF
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A68DF

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

Preview Lab → · Contrast checker → · Palette generator →

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