#5A68BC#5A68BC

#5A68BC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.7% C 0.131 H 274.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#5A68BC
RGBrgb(90, 104, 188)
HSLhsl(231, 42%, 55%)
HSVhsv(231, 52%, 74%)
CMYKcmyk(52.1%, 44.7%, 0%, 26.3%)
CIE-LABlab(46.58, 18.65, -46.02)
CIE-LCHlch(46.58, 49.66, 292.06°)
OKLaboklab(54.65% 0.0095 -0.1308)
OKLCHoklch(54.65% 0.131 274.1)
XYZxyz(18.2410, 15.7040, 49.6372)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68BC #BCAE5A
analogous
#5A99BC #5A68BC #7D5ABC
triadic
#5A68BC #BC5A68 #68BC5A
tetradic
#5A68BC #BC5A99 #BCAE5A #5ABC7D
square
#5A68BC #BC5A99 #BCAE5A #5ABC7D
split-complementary
#5A68BC #BC7D5A #99BC5A
monochromatic
#2D366F #3F4C9A #5A68BC #8690CE #B1B8DF

Accessibility & contrast

On white

5.07
#5A68BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#5A68BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68BC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68BC#FFFFFF#000000##FFFFFF
##5A68BC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#3A6BBA
Tritanopia (blue-blind)
#2E7A89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a68bc;
/* rgb */ color: rgb(90, 104, 188);
/* oklch */ color: oklch(54.7% 0.131 274.1);
Tailwind
colors: {
  custom: {
    50: '#8f92d0',
    500: '#5a68bc',
    950: '#000000',
  },
}
SCSS
$custom: #5a68bc;
$custom-light: #8f92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68bc",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 188
  },
  "hsl": {
    "h": 231.429,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.54651,
    "c": 0.13111,
    "h": 274.1
  },
  "luminance": 0.15705
}

Semantic roles & 50–950 ramp

primary
#5A68BC
secondary
#CEC8A4
accent
#C056D2
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0D14
muted
#7E7D82

Preview Lab

Preview with #5A68BC

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

Preview Lab → · Contrast checker → · Palette generator →

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