#4754CF#4754CF

#4754CF is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.188 H 273.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4754CF
RGBrgb(71, 84, 207)
HSLhsl(234, 59%, 55%)
HSVhsv(234, 66%, 81%)
CMYKcmyk(65.7%, 59.4%, 0%, 18.8%)
CIE-LABlab(41.51, 33.99, -65.25)
CIE-LCHlch(41.51, 73.57, 297.52°)
OKLaboklab(50.92% 0.0102 -0.188)
OKLCHoklch(50.92% 0.188 273.1)
XYZxyz(17.0276, 12.1837, 60.4737)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754CF #CFC247
analogous
#4798CF #4754CF #7E47CF
triadic
#4754CF #CF4754 #54CF47
tetradic
#4754CF #CF4798 #CFC247 #47CF7E
square
#4754CF #CF4798 #CFC247 #47CF7E
split-complementary
#4754CF #CF7E47 #98CF47
monochromatic
#20297B #2D39AC #4754CF #7881DC #A8AEE8

Accessibility & contrast

On white

6.11
#4754CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4754CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754CF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754CF#FFFFFF#000000##FFFFFF
##4754CF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005CCD
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4754cf;
/* rgb */ color: rgb(71, 84, 207);
/* oklch */ color: oklch(50.9% 0.188 273.1);
Tailwind
colors: {
  custom: {
    50: '#8984df',
    500: '#4754cf',
    950: '#000000',
  },
}
SCSS
$custom: #4754cf;
$custom-light: #8984df;
$custom-dark: #000000;
JSON
{
  "hex": "#4754cf",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 234.265,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.18824,
    "h": 273.1
  },
  "luminance": 0.12185
}

Semantic roles & 50–950 ramp

primary
#4754CF
secondary
#D6D09C
accent
#D346E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4754CF

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

Preview Lab → · Contrast checker → · Palette generator →

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