#4754CD#4754CD

#4754CD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.186 H 273.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4754CD
RGBrgb(71, 84, 205)
HSLhsl(234, 57%, 54%)
HSVhsv(234, 65%, 80%)
CMYKcmyk(65.4%, 59%, 0%, 19.6%)
CIE-LABlab(41.35, 33.31, -64.35)
CIE-LCHlch(41.35, 72.45, 297.37°)
OKLaboklab(50.76% 0.0103 -0.1853)
OKLCHoklch(50.76% 0.186 273.2)
XYZxyz(16.7846, 12.0865, 59.1942)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754CD #CDC047
analogous
#4797CD #4754CD #7D47CD
triadic
#4754CD #CD4754 #54CD47
tetradic
#4754CD #CD4797 #CDC047 #47CD7D
square
#4754CD #CD4797 #CDC047 #47CD7D
split-complementary
#4754CD #CD7D47 #97CD47
monochromatic
#212979 #2E3AA9 #4754CD #7781DA #A7ADE7

Accessibility & contrast

On white

6.14
#4754CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4754CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754CD
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754CD#FFFFFF#000000##FFFFFF
##4754CD1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4754cd;
/* rgb */ color: rgb(71, 84, 205);
/* oklch */ color: oklch(50.8% 0.186 273.2);
Tailwind
colors: {
  custom: {
    50: '#8984dd',
    500: '#4754cd',
    950: '#000000',
  },
}
SCSS
$custom: #4754cd;
$custom-light: #8984dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4754cd",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 234.179,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.18558,
    "h": 273.2
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#4754CD
secondary
#D4CF9B
accent
#D247E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4754CD

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

Preview Lab → · Contrast checker → · Palette generator →

#4754CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva