#5A68BB#5A68BB

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

Color values

HEX#5A68BB
RGBrgb(90, 104, 187)
HSLhsl(231, 42%, 54%)
HSVhsv(231, 52%, 73%)
CMYKcmyk(51.9%, 44.4%, 0%, 26.7%)
CIE-LABlab(46.53, 18.33, -45.53)
CIE-LCHlch(46.53, 49.09, 291.93°)
OKLaboklab(54.59% 0.0093 -0.1293)
OKLCHoklch(54.59% 0.13 274.1)
XYZxyz(18.1335, 15.6610, 49.0714)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68BB #BBAD5A
analogous
#5A99BB #5A68BB #7D5ABB
triadic
#5A68BB #BB5A68 #68BB5A
tetradic
#5A68BB #BB5A99 #BBAD5A #5ABB7D
square
#5A68BB #BB5A99 #BBAD5A #5ABB7D
split-complementary
#5A68BB #BB7D5A #99BB5A
monochromatic
#2D366D #3F4C99 #5A68BB #8590CD #B1B7DF

Accessibility & contrast

On white

5.08
#5A68BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5A68BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68BB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68BB#FFFFFF#000000##FFFFFF
##5A68BB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4573BE
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#2F7A88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5a68bb;
/* rgb */ color: rgb(90, 104, 187);
/* oklch */ color: oklch(54.6% 0.130 274.1);
Tailwind
colors: {
  custom: {
    50: '#8f92d0',
    500: '#5a68bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a68bb;
$custom-light: #8f92d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68bb",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 187
  },
  "hsl": {
    "h": 231.34,
    "s": 41.631,
    "l": 54.314
  },
  "oklch": {
    "l": 0.54589,
    "c": 0.12967,
    "h": 274.1
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#5A68BB
secondary
#CDC7A4
accent
#C056D1
background
#F9F8FC
surface
#F1F0F9
border
#CBCBD2
text
#0D0D14
muted
#7E7D82

Preview Lab

Preview with #5A68BB

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

Preview Lab → · Contrast checker → · Palette generator →

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