#5D74DF#5D74DF

#5D74DF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.164 H 271.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5D74DF
RGBrgb(93, 116, 223)
HSLhsl(229, 67%, 62%)
HSVhsv(229, 58%, 87%)
CMYKcmyk(58.3%, 48%, 0%, 12.5%)
CIE-LABlab(52.00, 23.26, -57.34)
CIE-LCHlch(52.00, 61.87, 292.08°)
OKLaboklab(59.49% 0.0042 -0.1638)
OKLCHoklch(59.49% 0.164 271.5)
XYZxyz(24.0745, 20.1438, 72.4172)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74DF #DFC85D
analogous
#5DB5DF #5D74DF #875DDF
triadic
#5D74DF #DF5D74 #74DF5D
tetradic
#5D74DF #DF5DB5 #DFC85D #5DDF87
square
#5D74DF #DF5DB5 #DFC85D #5DDF87
split-complementary
#5D74DF #DF875D #B5DF5D
monochromatic
#2037A2 #2A48D5 #5D74DF #90A0E9 #C3CCF3

Accessibility & contrast

On white

4.18
#5D74DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5D74DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74DF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74DF#FFFFFF#000000##000000
##5D74DF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F82E3
Deuteranopia (green-blind)
#2977DD
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d74df;
/* rgb */ color: rgb(93, 116, 223);
/* oklch */ color: oklch(59.5% 0.164 271.5);
Tailwind
colors: {
  custom: {
    50: '#959bea',
    500: '#5d74df',
    950: '#000000',
  },
}
SCSS
$custom: #5d74df;
$custom-light: #959bea;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74df",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 229.385,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59488,
    "c": 0.16387,
    "h": 271.5
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

primary
#5D74DF
secondary
#E4DBB4
accent
#AE17CF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5D74DF

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

Preview Lab → · Contrast checker → · Palette generator →

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