#5D74DB#5D74DB

#5D74DB is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.158 H 271.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5D74DB
RGBrgb(93, 116, 219)
HSLhsl(229, 64%, 61%)
HSVhsv(229, 58%, 86%)
CMYKcmyk(57.5%, 47%, 0%, 14.1%)
CIE-LABlab(51.76, 21.94, -55.47)
CIE-LCHlch(51.76, 59.65, 291.58°)
OKLaboklab(59.23% 0.0038 -0.1583)
OKLCHoklch(59.23% 0.158 271.4)
XYZxyz(23.5415, 19.9306, 69.6105)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74DB #DBC45D
analogous
#5DB3DB #5D74DB #855DDB
triadic
#5D74DB #DB5D74 #74DB5D
tetradic
#5D74DB #DB5DB3 #DBC45D #5DDB85
square
#5D74DB #DB5DB3 #DBC45D #5DDB85
split-complementary
#5D74DB #DB855D #B3DB5D
monochromatic
#22389B #2E4BCD #5D74DB #8F9FE6 #C1CAF1

Accessibility & contrast

On white

4.21
#5D74DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5D74DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74DB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74DB#FFFFFF#000000##000000
##5D74DB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DF
Deuteranopia (green-blind)
#3076D9
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5d74db;
/* rgb */ color: rgb(93, 116, 219);
/* oklch */ color: oklch(59.2% 0.158 271.4);
Tailwind
colors: {
  custom: {
    50: '#959be7',
    500: '#5d74db',
    950: '#000000',
  },
}
SCSS
$custom: #5d74db;
$custom-light: #959be7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74db",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 229.048,
    "s": 63.636,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59228,
    "c": 0.15836,
    "h": 271.4
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

primary
#5D74DB
secondary
#E2D9B2
accent
#AB1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D74DB

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

Preview Lab → · Contrast checker → · Palette generator →

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