#5C74CB#5C74CB

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

Color values

HEX#5C74CB
RGBrgb(92, 116, 203)
HSLhsl(227, 52%, 58%)
HSVhsv(227, 55%, 80%)
CMYKcmyk(54.7%, 42.9%, 0%, 20.4%)
CIE-LABlab(50.78, 16.52, -47.96)
CIE-LCHlch(50.78, 50.72, 289.00°)
OKLaboklab(58.16% 0.0003 -0.1363)
OKLCHoklch(58.16% 0.136 270.1)
XYZxyz(21.4350, 19.0763, 59.0409)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C74CB #CBB35C
analogous
#5CABCB #5C74CB #7B5CCB
triadic
#5C74CB #CB5C74 #74CB5C
tetradic
#5C74CB #CB5CAB #CBB35C #5CCB7B
square
#5C74CB #CB5CAB #CBB35C #5CCB7B
split-complementary
#5C74CB #CB7B5C #ABCB5C
monochromatic
#2A3D83 #3953B1 #5C74CB #8A9CDA #B9C3E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C74CB#FFFFFF#000000##000000
##5C74CB1.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)
#4F7ECE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#208795
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5c74cb;
/* rgb */ color: rgb(92, 116, 203);
/* oklch */ color: oklch(58.2% 0.136 270.1);
Tailwind
colors: {
  custom: {
    50: '#929bdb',
    500: '#5c74cb',
    950: '#000000',
  },
}
SCSS
$custom: #5c74cb;
$custom-light: #929bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5c74cb",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 227.027,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58164,
    "c": 0.13629,
    "h": 270.1
  },
  "luminance": 0.19078
}

Semantic roles & 50–950 ramp

primary
#5C74CB
secondary
#D8CEAB
accent
#BC4DDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #5C74CB

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

Preview Lab → · Contrast checker → · Palette generator →

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