#5E7AAA#5E7AAA

#5E7AAA is a mid, moderate blue. Relative luminance 0.192; OKLCH L 57.8% C 0.081 H 260.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#5E7AAA
RGBrgb(94, 122, 170)
HSLhsl(218, 31%, 52%)
HSVhsv(218, 45%, 67%)
CMYKcmyk(44.7%, 28.2%, 0%, 33.3%)
CIE-LABlab(50.92, 3.02, -28.73)
CIE-LCHlch(50.92, 28.89, 276.01°)
OKLaboklab(57.77% -0.0129 -0.0803)
OKLCHoklch(57.77% 0.081 260.9)
XYZxyz(18.8290, 19.1999, 40.7362)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7AAA #AA8E5E
analogous
#5EA0AA #5E7AAA #685EAA
triadic
#5E7AAA #AA5E7A #7AAA5E
tetradic
#5E7AAA #AA5EA0 #AA8E5E #5EAA68
square
#5E7AAA #AA5EA0 #AA8E5E #5EAA68
split-complementary
#5E7AAA #AA685E #A0AA5E
monochromatic
#31415D #465D85 #5E7AAA #869BBF #AEBCD4

Accessibility & contrast

On white

4.34
#5E7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#5E7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7AAA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7AAA#FFFFFF#000000##000000
##5E7AAA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAC
Deuteranopia (green-blind)
#6076A9
Tritanopia (blue-blind)
#42848B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e7aaa;
/* rgb */ color: rgb(94, 122, 170);
/* oklch */ color: oklch(57.8% 0.081 260.9);
Tailwind
colors: {
  custom: {
    50: '#8fa0c3',
    500: '#5e7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #5e7aaa;
$custom-light: #8fa0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7aaa",
  "rgb": {
    "r": 94,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 217.895,
    "s": 30.894,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.0813,
    "h": 260.9
  },
  "luminance": 0.19201
}

Semantic roles & 50–950 ramp

primary
#5E7AAA
secondary
#C3B6A1
accent
#A161C7
background
#F9F9FC
surface
#F1F2F8
border
#CBCCD1
text
#0D0E12
muted
#7E7E81

Preview Lab

Preview with #5E7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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