#5D61EF#5D61EF

#5D61EF is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.1% C 0.209 H 276.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5D61EF
RGBrgb(93, 97, 239)
HSLhsl(238, 82%, 65%)
HSVhsv(238, 61%, 94%)
CMYKcmyk(61.1%, 59.4%, 0%, 6.3%)
CIE-LABlab(48.39, 40.06, -72.16)
CIE-LCHlch(48.39, 82.53, 299.04°)
OKLaboklab(57.13% 0.023 -0.2076)
OKLCHoklch(57.13% 0.209 276.3)
XYZxyz(24.3638, 17.1066, 83.6626)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D61EF #EFEB5D
analogous
#5DAAEF #5D61EF #A25DEF
triadic
#5D61EF #EF5D61 #61EF5D
tetradic
#5D61EF #EF5DAA #EFEB5D #5DEFA2
square
#5D61EF #EF5DAA #EFEB5D #5DEFA2
split-complementary
#5D61EF #EFA25D #AAEF5D
monochromatic
#1318BF #252BE9 #5D61EF #9597F5 #CCCEFA

Accessibility & contrast

On white

4.75
#5D61EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#5D61EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D61EF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D61EF#FFFFFF#000000##FFFFFF
##5D61EF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#006DEC
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d61ef;
/* rgb */ color: rgb(93, 97, 239);
/* oklch */ color: oklch(57.1% 0.209 276.3);
Tailwind
colors: {
  custom: {
    50: '#998ef5',
    500: '#5d61ef',
    950: '#000000',
  },
}
SCSS
$custom: #5d61ef;
$custom-light: #998ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5d61ef",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 238.356,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.20887,
    "h": 276.3
  },
  "luminance": 0.17109
}

Semantic roles & 50–950 ramp

primary
#5D61EF
secondary
#EDEBBB
accent
#D907DE
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5D61EF

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

Preview Lab → · Contrast checker → · Palette generator →

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