#5D74CB#5D74CB

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

Color values

HEX#5D74CB
RGBrgb(93, 116, 203)
HSLhsl(227, 51%, 58%)
HSVhsv(227, 54%, 80%)
CMYKcmyk(54.2%, 42.9%, 0%, 20.4%)
CIE-LABlab(50.84, 16.73, -47.86)
CIE-LCHlch(50.84, 50.70, 289.27°)
OKLaboklab(58.23% 0.0013 -0.136)
OKLCHoklch(58.23% 0.136 270.6)
XYZxyz(21.5356, 19.1282, 59.0456)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D74CB #CBB45D
analogous
#5DABCB #5D74CB #7D5DCB
triadic
#5D74CB #CB5D74 #74CB5D
tetradic
#5D74CB #CB5DAB #CBB45D #5DCB7D
square
#5D74CB #CB5DAB #CBB45D #5DCB7D
split-complementary
#5D74CB #CB7D5D #ABCB5D
monochromatic
#2A3D83 #3952B2 #5D74CB #8B9CDA #BAC4E9

Accessibility & contrast

On white

4.35
#5D74CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#5D74CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D74CB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D74CB#FFFFFF#000000##000000
##5D74CB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECE
Deuteranopia (green-blind)
#4275C9
Tritanopia (blue-blind)
#248795
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5d74cb;
/* rgb */ color: rgb(93, 116, 203);
/* oklch */ color: oklch(58.2% 0.136 270.6);
Tailwind
colors: {
  custom: {
    50: '#929bdb',
    500: '#5d74cb',
    950: '#000000',
  },
}
SCSS
$custom: #5d74cb;
$custom-light: #929bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d74cb",
  "rgb": {
    "r": 93,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 227.455,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58226,
    "c": 0.13599,
    "h": 270.6
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#5D74CB
secondary
#D8CFAC
accent
#BD4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #5D74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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