#5D6AF2#5D6AF2

#5D6AF2 is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 58.9% C 0.202 H 274.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#5D6AF2
RGBrgb(93, 106, 242)
HSLhsl(235, 85%, 66%)
HSVhsv(235, 62%, 95%)
CMYKcmyk(61.6%, 56.2%, 0%, 5.1%)
CIE-LABlab(50.74, 35.61, -70.03)
CIE-LCHlch(50.74, 78.56, 296.96°)
OKLaboklab(58.94% 0.0151 -0.2013)
OKLCHoklch(58.94% 0.202 274.3)
XYZxyz(25.6900, 19.0439, 86.3092)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6AF2 #F2E55D
analogous
#5DB4F2 #5D6AF2 #9A5DF2
triadic
#5D6AF2 #F25D6A #6AF25D
tetradic
#5D6AF2 #F25DB4 #F2E55D #5DF29A
square
#5D6AF2 #F25DB4 #F2E55D #5DF29A
split-complementary
#5D6AF2 #F29A5D #B4F25D
monochromatic
#1020C5 #2436ED #5D6AF2 #969EF7 #CED2FB

Accessibility & contrast

On white

4.37
#5D6AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#5D6AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D6AF2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6AF2#FFFFFF#000000##000000
##5D6AF21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#008BA4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d6af2;
/* rgb */ color: rgb(93, 106, 242);
/* oklch */ color: oklch(58.9% 0.202 274.3);
Tailwind
colors: {
  custom: {
    50: '#9994f7',
    500: '#5d6af2',
    950: '#000000',
  },
}
SCSS
$custom: #5d6af2;
$custom-light: #9994f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6af2",
  "rgb": {
    "r": 93,
    "g": 106,
    "b": 242
  },
  "hsl": {
    "h": 234.765,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.20182,
    "h": 274.3
  },
  "luminance": 0.19046
}

Semantic roles & 50–950 ramp

primary
#5D6AF2
secondary
#EEEABD
accent
#CE04E2
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5D6AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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