#5A698D#5A698D

#5A698D is a mid, moderate blue. Relative luminance 0.142; OKLCH L 52.3% C 0.060 H 266.8°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#5A698D
RGBrgb(90, 105, 141)
HSLhsl(222, 22%, 45%)
HSVhsv(222, 36%, 55%)
CMYKcmyk(36.2%, 25.5%, 0%, 44.7%)
CIE-LABlab(44.52, 3.67, -21.61)
CIE-LCHlch(44.52, 21.92, 279.65°)
OKLaboklab(52.29% -0.0033 -0.0599)
OKLCHoklch(52.29% 0.06 266.8)
XYZxyz(14.0743, 14.1993, 27.1933)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A698D #8D7E5A
analogous
#5A828D #5A698D #645A8D
triadic
#5A698D #8D5A69 #698D5A
tetradic
#5A698D #8D5A82 #8D7E5A #5A8D64
square
#5A698D #8D5A82 #8D7E5A #5A8D64
split-complementary
#5A698D #8D645A #828D5A
monochromatic
#2A3142 #424D68 #5A698D #7A88AA #9FAAC2

Accessibility & contrast

On white

5.47
#5A698D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#5A698D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A698D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A698D#FFFFFF#000000##FFFFFF
##5A698D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8F
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#4B7075
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5a698d;
/* rgb */ color: rgb(90, 105, 141);
/* oklch */ color: oklch(52.3% 0.060 266.8);
Tailwind
colors: {
  custom: {
    50: '#8a93ae',
    500: '#5a698d',
    950: '#000000',
  },
}
SCSS
$custom: #5a698d;
$custom-light: #8a93ae;
$custom-dark: #000000;
JSON
{
  "hex": "#5a698d",
  "rgb": {
    "r": 90,
    "g": 105,
    "b": 141
  },
  "hsl": {
    "h": 222.353,
    "s": 22.078,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5229,
    "c": 0.06,
    "h": 266.8
  },
  "luminance": 0.142
}

Semantic roles & 50–950 ramp

primary
#5A698D
secondary
#B0A793
accent
#A569BF
background
#F8F9FA
surface
#F0F1F4
border
#CBCBCE
text
#0C0D10
muted
#7D7E7F

Preview Lab

Preview with #5A698D

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

Preview Lab → · Contrast checker → · Palette generator →

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