#5A68DC#5A68DC

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

Color values

HEX#5A68DC
RGBrgb(90, 104, 220)
HSLhsl(234, 65%, 61%)
HSVhsv(234, 59%, 86%)
CMYKcmyk(59.1%, 52.7%, 0%, 13.7%)
CIE-LABlab(48.56, 29.09, -61.19)
CIE-LCHlch(48.56, 67.75, 295.43°)
OKLaboklab(56.78% 0.0129 -0.1753)
OKLCHoklch(56.78% 0.176 274.2)
XYZxyz(22.0808, 17.2399, 69.8603)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68DC #DCCE5A
analogous
#5AA9DC #5A68DC #8D5ADC
triadic
#5A68DC #DC5A68 #68DC5A
tetradic
#5A68DC #DC5AA9 #DCCE5A #5ADC8D
square
#5A68DC #DC5AA9 #DCCE5A #5ADC8D
split-complementary
#5A68DC #DC8D5A #A9DC5A
monochromatic
#212E9B #2C3DCD #5A68DC #8C96E7 #BFC4F1

Accessibility & contrast

On white

4.72
#5A68DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5A68DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68DC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68DC#FFFFFF#000000##FFFFFF
##5A68DC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2079E0
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#008398
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5a68dc;
/* rgb */ color: rgb(90, 104, 220);
/* oklch */ color: oklch(56.8% 0.176 274.2);
Tailwind
colors: {
  custom: {
    50: '#9493e8',
    500: '#5a68dc',
    950: '#000000',
  },
}
SCSS
$custom: #5a68dc;
$custom-light: #9493e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68dc",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 233.538,
    "s": 65,
    "l": 60.784
  },
  "oklch": {
    "l": 0.56782,
    "c": 0.17581,
    "h": 274.2
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#5A68DC
secondary
#E2DCB0
accent
#B919CD
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5A68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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