#5D74CA#5D74CA

#5D74CA is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.135 H 270.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5D74CA
RGBrgb(93, 116, 202)
HSLhsl(227, 51%, 58%)
HSVhsv(227, 54%, 79%)
CMYKcmyk(54%, 42.6%, 0%, 20.8%)
CIE-LABlab(50.78, 16.41, -47.38)
CIE-LCHlch(50.78, 50.14, 289.10°)
OKLaboklab(58.17% 0.0012 -0.1346)
OKLCHoklch(58.17% 0.135 270.5)
XYZxyz(21.4168, 19.0807, 58.4200)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74CA #CAB35D
analogous
#5DABCA #5D74CA #7C5DCA
triadic
#5D74CA #CA5D74 #74CA5D
tetradic
#5D74CA #CA5DAB #CAB35D #5DCA7C
square
#5D74CA #CA5DAB #CAB35D #5DCA7C
split-complementary
#5D74CA #CA7C5D #ABCA5D
monochromatic
#2B3D82 #3A53B0 #5D74CA #8B9CD9 #B9C3E8

Accessibility & contrast

On white

4.36
#5D74CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5D74CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74CA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74CA#FFFFFF#000000##000000
##5D74CA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#4374C8
Tritanopia (blue-blind)
#258795
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d74ca;
/* rgb */ color: rgb(93, 116, 202);
/* oklch */ color: oklch(58.2% 0.135 270.5);
Tailwind
colors: {
  custom: {
    50: '#929bda',
    500: '#5d74ca',
    950: '#000000',
  },
}
SCSS
$custom: #5d74ca;
$custom-light: #929bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74ca",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 227.339,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.13456,
    "h": 270.5
  },
  "luminance": 0.19082
}

Semantic roles & 50–950 ramp

primary
#5D74CA
secondary
#D7CEAC
accent
#BD4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D74CA

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

Preview Lab → · Contrast checker → · Palette generator →

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