#5A68DB#5A68DB

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

Color values

HEX#5A68DB
RGBrgb(90, 104, 219)
HSLhsl(233, 64%, 61%)
HSVhsv(233, 59%, 86%)
CMYKcmyk(58.9%, 52.5%, 0%, 14.1%)
CIE-LABlab(48.49, 28.76, -60.73)
CIE-LCHlch(48.49, 67.19, 295.34°)
OKLaboklab(56.71% 0.0128 -0.174)
OKLCHoklch(56.71% 0.174 274.2)
XYZxyz(21.9488, 17.1871, 69.1649)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68DB #DBCD5A
analogous
#5AA9DB #5A68DB #8C5ADB
triadic
#5A68DB #DB5A68 #68DB5A
tetradic
#5A68DB #DB5AA9 #DBCD5A #5ADB8C
square
#5A68DB #DB5AA9 #DBCD5A #5ADB8C
split-complementary
#5A68DB #DB8C5A #A9DB5A
monochromatic
#212E99 #2C3ECB #5A68DB #8C96E6 #BEC4F1

Accessibility & contrast

On white

4.73
#5A68DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5A68DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68DB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68DB#FFFFFF#000000##FFFFFF
##5A68DB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2279DF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#008397
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a68db;
/* rgb */ color: rgb(90, 104, 219);
/* oklch */ color: oklch(56.7% 0.174 274.2);
Tailwind
colors: {
  custom: {
    50: '#9493e7',
    500: '#5a68db',
    950: '#000000',
  },
}
SCSS
$custom: #5a68db;
$custom-light: #9493e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68db",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 233.488,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56712,
    "c": 0.17445,
    "h": 274.2
  },
  "luminance": 0.17189
}

Semantic roles & 50–950 ramp

primary
#5A68DB
secondary
#E1DCB0
accent
#B91ACC
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A68DB

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

Preview Lab → · Contrast checker → · Palette generator →

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