#5B68AB#5B68AB

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

Color values

HEX#5B68AB
RGBrgb(91, 104, 171)
HSLhsl(230, 32%, 51%)
HSVhsv(230, 47%, 67%)
CMYKcmyk(46.8%, 39.2%, 0%, 32.9%)
CIE-LABlab(45.72, 13.52, -37.48)
CIE-LCHlch(45.72, 39.84, 289.83°)
OKLaboklab(53.71% 0.0074 -0.1057)
OKLCHoklch(53.71% 0.106 274)
XYZxyz(16.6131, 15.0641, 40.5525)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B68AB #AB9E5B
analogous
#5B90AB #5B68AB #765BAB
triadic
#5B68AB #AB5B68 #68AB5B
tetradic
#5B68AB #AB5B90 #AB9E5B #5BAB76
square
#5B68AB #AB5B90 #AB9E5B #5BAB76
split-complementary
#5B68AB #AB765B #90AB5B
monochromatic
#2F375C #444F85 #5B68AB #838DC0 #ACB3D4

Accessibility & contrast

On white

5.23
#5B68AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5B68AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B68AB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B68AB#FFFFFF#000000##FFFFFF
##5B68AB1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AE
Deuteranopia (green-blind)
#4869A9
Tritanopia (blue-blind)
#3E7681
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5b68ab;
/* rgb */ color: rgb(91, 104, 171);
/* oklch */ color: oklch(53.7% 0.106 274.0);
Tailwind
colors: {
  custom: {
    50: '#8e92c4',
    500: '#5b68ab',
    950: '#000000',
  },
}
SCSS
$custom: #5b68ab;
$custom-light: #8e92c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b68ab",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 171
  },
  "hsl": {
    "h": 230.25,
    "s": 32.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.10601,
    "h": 274
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#5B68AB
secondary
#C3BD9F
accent
#B75FC8
background
#F8F9FC
surface
#F0F1F8
border
#CBCBD1
text
#0D0D13
muted
#7D7E82

Preview Lab

Preview with #5B68AB

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

Preview Lab → · Contrast checker → · Palette generator →

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