#5D74C8#5D74C8

#5D74C8 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.0% C 0.132 H 270.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5D74C8
RGBrgb(93, 116, 200)
HSLhsl(227, 49%, 57%)
HSVhsv(227, 54%, 78%)
CMYKcmyk(53.5%, 42%, 0%, 21.6%)
CIE-LABlab(50.67, 15.76, -46.41)
CIE-LCHlch(50.67, 49.01, 288.76°)
OKLaboklab(58.05% 0.0008 -0.1317)
OKLCHoklch(58.05% 0.132 270.3)
XYZxyz(21.1815, 18.9866, 57.1810)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74C8 #C8B15D
analogous
#5DA9C8 #5D74C8 #7C5DC8
triadic
#5D74C8 #C85D74 #74C85D
tetradic
#5D74C8 #C85DA9 #C8B15D #5DC87C
square
#5D74C8 #C85DA9 #C8B15D #5DC87C
split-complementary
#5D74C8 #C87C5D #A9C85D
monochromatic
#2B3D7F #3B53AD #5D74C8 #8B9BD8 #B8C2E7

Accessibility & contrast

On white

4.38
#5D74C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#5D74C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74C8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74C8#FFFFFF#000000##000000
##5D74C81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECB
Deuteranopia (green-blind)
#4574C6
Tritanopia (blue-blind)
#288694
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d74c8;
/* rgb */ color: rgb(93, 116, 200);
/* oklch */ color: oklch(58.0% 0.132 270.3);
Tailwind
colors: {
  custom: {
    50: '#929bd9',
    500: '#5d74c8',
    950: '#000000',
  },
}
SCSS
$custom: #5d74c8;
$custom-light: #929bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74c8",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 200
  },
  "hsl": {
    "h": 227.103,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58045,
    "c": 0.13173,
    "h": 270.3
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#5D74C8
secondary
#D6CDAB
accent
#BB4FD9
background
#F9F9FD
surface
#F2F2FA
border
#CCCCD3
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5D74C8

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

Preview Lab → · Contrast checker → · Palette generator →

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