#5D61DF#5D61DF

#5D61DF is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.9% C 0.188 H 277.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#5D61DF
RGBrgb(93, 97, 223)
HSLhsl(238, 67%, 62%)
HSVhsv(238, 58%, 87%)
CMYKcmyk(58.3%, 56.5%, 0%, 12.5%)
CIE-LABlab(47.24, 34.89, -65.02)
CIE-LCHlch(47.24, 73.79, 298.22°)
OKLaboklab(55.91% 0.0231 -0.1866)
OKLCHoklch(55.91% 0.188 277.1)
XYZxyz(22.1039, 16.2026, 71.7604)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D61DF #DFDB5D
analogous
#5DA2DF #5D61DF #9A5DDF
triadic
#5D61DF #DF5D61 #61DF5D
tetradic
#5D61DF #DF5DA2 #DFDB5D #5DDF9A
square
#5D61DF #DF5DA2 #DFDB5D #5DDF9A
split-complementary
#5D61DF #DF9A5D #A2DF5D
monochromatic
#2024A2 #2A2FD5 #5D61DF #9093E9 #C3C5F3

Accessibility & contrast

On white

4.95
#5D61DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#5D61DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D61DF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D61DF#FFFFFF#000000##FFFFFF
##5D61DF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#006BDC
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5d61df;
/* rgb */ color: rgb(93, 97, 223);
/* oklch */ color: oklch(55.9% 0.188 277.1);
Tailwind
colors: {
  custom: {
    50: '#968eea',
    500: '#5d61df',
    950: '#000000',
  },
}
SCSS
$custom: #5d61df;
$custom-light: #968eea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d61df",
  "rgb": {
    "r": 93,
    "g": 97,
    "b": 223
  },
  "hsl": {
    "h": 238.154,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.55911,
    "c": 0.18802,
    "h": 277.1
  },
  "luminance": 0.16204
}

Semantic roles & 50–950 ramp

primary
#5D61DF
secondary
#E4E2B4
accent
#C917CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D61DF

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

Preview Lab → · Contrast checker → · Palette generator →

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