#5A68BE#5A68BE

#5A68BE is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.8% C 0.134 H 274.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#5A68BE
RGBrgb(90, 104, 190)
HSLhsl(232, 43%, 55%)
HSVhsv(232, 53%, 75%)
CMYKcmyk(52.6%, 45.3%, 0%, 25.5%)
CIE-LABlab(46.70, 19.29, -47.00)
CIE-LCHlch(46.70, 50.80, 292.32°)
OKLaboklab(54.78% 0.0098 -0.1336)
OKLCHoklch(54.78% 0.134 274.2)
XYZxyz(18.4581, 15.7908, 50.7805)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A68BE #BEB05A
analogous
#5A9ABE #5A68BE #7E5ABE
triadic
#5A68BE #BE5A68 #68BE5A
tetradic
#5A68BE #BE5A9A #BEB05A #5ABE7E
square
#5A68BE #BE5A9A #BEB05A #5ABE7E
split-complementary
#5A68BE #BE7E5A #9ABE5A
monochromatic
#2D3671 #3E4B9D #5A68BE #8690CF #B2B8E1

Accessibility & contrast

On white

5.05
#5A68BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#5A68BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A68BE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A68BE#FFFFFF#000000##FFFFFF
##5A68BE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4373C1
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#2C7B8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5a68be;
/* rgb */ color: rgb(90, 104, 190);
/* oklch */ color: oklch(54.8% 0.134 274.2);
Tailwind
colors: {
  custom: {
    50: '#8f92d2',
    500: '#5a68be',
    950: '#000000',
  },
}
SCSS
$custom: #5a68be;
$custom-light: #8f92d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a68be",
  "rgb": {
    "r": 90,
    "g": 104,
    "b": 190
  },
  "hsl": {
    "h": 231.6,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54776,
    "c": 0.13399,
    "h": 274.2
  },
  "luminance": 0.15792
}

Semantic roles & 50–950 ramp

primary
#5A68BE
secondary
#CFC9A5
accent
#C155D3
background
#F9F9FC
surface
#F1F1F9
border
#CBCBD2
text
#0D0D14
muted
#7E7E82

Preview Lab

Preview with #5A68BE

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

Preview Lab → · Contrast checker → · Palette generator →

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