#5D66DF#5D66DF

#5D66DF is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.8% C 0.182 H 275.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5D66DF
RGBrgb(93, 102, 223)
HSLhsl(236, 67%, 62%)
HSVhsv(236, 58%, 87%)
CMYKcmyk(58.3%, 54.3%, 0%, 12.5%)
CIE-LABlab(48.46, 31.84, -63.05)
CIE-LCHlch(48.46, 70.63, 296.80°)
OKLaboklab(56.82% 0.0183 -0.1807)
OKLCHoklch(56.82% 0.182 275.8)
XYZxyz(22.5805, 17.1559, 71.9192)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D66DF #DFD65D
analogous
#5DA7DF #5D66DF #955DDF
triadic
#5D66DF #DF5D66 #66DF5D
tetradic
#5D66DF #DF5DA7 #DFD65D #5DDF95
square
#5D66DF #DF5DA7 #DFD65D #5DDF95
split-complementary
#5D66DF #DF955D #A7DF5D
monochromatic
#2029A2 #2A36D5 #5D66DF #9096E9 #C3C7F3

Accessibility & contrast

On white

4.74
#5D66DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5D66DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D66DF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D66DF#FFFFFF#000000##FFFFFF
##5D66DF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1079E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#008299
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5d66df;
/* rgb */ color: rgb(93, 102, 223);
/* oklch */ color: oklch(56.8% 0.182 275.8);
Tailwind
colors: {
  custom: {
    50: '#9691ea',
    500: '#5d66df',
    950: '#000000',
  },
}
SCSS
$custom: #5d66df;
$custom-light: #9691ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d66df",
  "rgb": {
    "r": 93,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 235.846,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56818,
    "c": 0.18167,
    "h": 275.8
  },
  "luminance": 0.17158
}

Semantic roles & 50–950 ramp

primary
#5D66DF
secondary
#E4E1B4
accent
#C217CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5D66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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