#4754CB#4754CB

#4754CB is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.183 H 273.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4754CB
RGBrgb(71, 84, 203)
HSLhsl(234, 56%, 54%)
HSVhsv(234, 65%, 80%)
CMYKcmyk(65%, 58.6%, 0%, 20.4%)
CIE-LABlab(41.20, 32.62, -63.44)
CIE-LCHlch(41.20, 71.33, 297.21°)
OKLaboklab(50.6% 0.0103 -0.1826)
OKLCHoklch(50.6% 0.183 273.2)
XYZxyz(16.5448, 11.9906, 57.9309)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754CB #CBBE47
analogous
#4796CB #4754CB #7C47CB
triadic
#4754CB #CB4754 #54CB47
tetradic
#4754CB #CB4796 #CBBE47 #47CB7C
square
#4754CB #CB4796 #CBBE47 #47CB7C
split-complementary
#4754CB #CB7C47 #96CB47
monochromatic
#212A76 #2F3BA6 #4754CB #7780D8 #A6ADE6

Accessibility & contrast

On white

6.18
#4754CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4754CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754CB
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754CB#FFFFFF#000000##FFFFFF
##4754CB1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4754cb;
/* rgb */ color: rgb(71, 84, 203);
/* oklch */ color: oklch(50.6% 0.183 273.2);
Tailwind
colors: {
  custom: {
    50: '#8984dc',
    500: '#4754cb',
    950: '#000000',
  },
}
SCSS
$custom: #4754cb;
$custom-light: #8984dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4754cb",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 234.091,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.18293,
    "h": 273.2
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#4754CB
secondary
#D3CE9B
accent
#D049DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4754CB

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

Preview Lab → · Contrast checker → · Palette generator →

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