#5D6DF2#5D6DF2

#5D6DF2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.5% C 0.198 H 273.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#5D6DF2
RGBrgb(93, 109, 242)
HSLhsl(234, 85%, 66%)
HSVhsv(234, 62%, 95%)
CMYKcmyk(61.6%, 55%, 0%, 5.1%)
CIE-LABlab(51.47, 33.79, -68.85)
CIE-LCHlch(51.47, 76.70, 296.14°)
OKLaboklab(59.48% 0.0124 -0.1978)
OKLCHoklch(59.48% 0.198 273.6)
XYZxyz(26.0046, 19.6731, 86.4141)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6DF2 #F2E25D
analogous
#5DB7F2 #5D6DF2 #975DF2
triadic
#5D6DF2 #F25D6D #6DF25D
tetradic
#5D6DF2 #F25DB7 #F2E25D #5DF297
square
#5D6DF2 #F25DB7 #F2E25D #5DF297
split-complementary
#5D6DF2 #F2975D #B7F25D
monochromatic
#1023C5 #243AED #5D6DF2 #96A0F7 #CED3FB

Accessibility & contrast

On white

4.26
#5D6DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#5D6DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D6DF2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6DF2#FFFFFF#000000##000000
##5D6DF21.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008DA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d6df2;
/* rgb */ color: rgb(93, 109, 242);
/* oklch */ color: oklch(59.5% 0.198 273.6);
Tailwind
colors: {
  custom: {
    50: '#9996f7',
    500: '#5d6df2',
    950: '#000000',
  },
}
SCSS
$custom: #5d6df2;
$custom-light: #9996f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6df2",
  "rgb": {
    "r": 93,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 233.557,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59478,
    "c": 0.19815,
    "h": 273.6
  },
  "luminance": 0.19675
}

Semantic roles & 50–950 ramp

primary
#5D6DF2
secondary
#EEE9BD
accent
#CA04E2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D6DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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