#5B68AC#5B68AC

#5B68AC is a mid, moderate blue. Relative luminance 0.151; OKLCH L 53.8% C 0.107 H 274.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5B68AC
RGBrgb(91, 104, 172)
HSLhsl(230, 33%, 52%)
HSVhsv(230, 47%, 67%)
CMYKcmyk(47.1%, 39.5%, 0%, 32.5%)
CIE-LABlab(45.77, 13.83, -37.98)
CIE-LCHlch(45.77, 40.42, 290.00°)
OKLaboklab(53.76% 0.0076 -0.1072)
OKLCHoklch(53.76% 0.107 274)
XYZxyz(16.7088, 15.1024, 41.0564)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68AC #AC9F5B
analogous
#5B91AC #5B68AC #775BAC
triadic
#5B68AC #AC5B68 #68AC5B
tetradic
#5B68AC #AC5B91 #AC9F5B #5BAC77
square
#5B68AC #AC5B91 #AC9F5B #5BAC77
split-complementary
#5B68AC #AC775B #91AC5B
monochromatic
#2F375D #444E86 #5B68AC #848DC1 #ACB3D5

Accessibility & contrast

On white

5.22
#5B68AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5B68AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68AC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68AC#FFFFFF#000000##FFFFFF
##5B68AC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E70AF
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#3D7682
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b68ac;
/* rgb */ color: rgb(91, 104, 172);
/* oklch */ color: oklch(53.8% 0.107 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e92c5',
    500: '#5b68ac',
    950: '#000000',
  },
}
SCSS
$custom: #5b68ac;
$custom-light: #8e92c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68ac",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 172
  },
  "hsl": {
    "h": 230.37,
    "s": 32.794,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53763,
    "c": 0.10749,
    "h": 274
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#5B68AC
secondary
#C3BDA0
accent
#B85FC9
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0D0D13
muted
#7D7E82

Preview Lab

Preview with #5B68AC

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

Preview Lab → · Contrast checker → · Palette generator →

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