#5E61CD#5E61CD

#5E61CD is a mid, vivid blue. Relative luminance 0.153; OKLCH L 54.7% C 0.164 H 278.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5E61CD
RGBrgb(94, 97, 205)
HSLhsl(238, 53%, 59%)
HSVhsv(238, 54%, 80%)
CMYKcmyk(54.1%, 52.7%, 0%, 19.6%)
CIE-LABlab(46.09, 29.30, -56.60)
CIE-LCHlch(46.09, 63.74, 297.37°)
OKLaboklab(54.68% 0.0237 -0.1618)
OKLCHoklch(54.68% 0.164 278.3)
XYZxyz(19.9068, 15.3356, 59.6569)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E61CD #CDCA5E
analogous
#5E98CD #5E61CD #925ECD
triadic
#5E61CD #CD5E61 #61CD5E
tetradic
#5E61CD #CD5E98 #CDCA5E #5ECD92
square
#5E61CD #CD5E98 #CDCA5E #5ECD92
split-complementary
#5E61CD #CD925E #98CD5E
monochromatic
#2A2C87 #383CB5 #5E61CD #8D8FDC #BBBDEA

Accessibility & contrast

On white

5.16
#5E61CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#5E61CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E61CD
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E61CD#FFFFFF#000000##FFFFFF
##5E61CD1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2472D1
Deuteranopia (green-blind)
#0F69CB
Tritanopia (blue-blind)
#29798E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5e61cd;
/* rgb */ color: rgb(94, 97, 205);
/* oklch */ color: oklch(54.7% 0.164 278.3);
Tailwind
colors: {
  custom: {
    50: '#948edd',
    500: '#5e61cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e61cd;
$custom-light: #948edd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e61cd",
  "rgb": {
    "r": 94,
    "g": 97,
    "b": 205
  },
  "hsl": {
    "h": 238.378,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54684,
    "c": 0.16354,
    "h": 278.3
  },
  "luminance": 0.15337
}

Semantic roles & 50–950 ramp

primary
#5E61CD
secondary
#D9D8AD
accent
#D84CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5E61CD

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

Preview Lab → · Contrast checker → · Palette generator →

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