#4754CA#4754CA

#4754CA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.182 H 273.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4754CA
RGBrgb(71, 84, 202)
HSLhsl(234, 55%, 54%)
HSVhsv(234, 65%, 79%)
CMYKcmyk(64.9%, 58.4%, 0%, 20.8%)
CIE-LABlab(41.13, 32.28, -62.98)
CIE-LCHlch(41.13, 70.77, 297.13°)
OKLaboklab(50.52% 0.0103 -0.1813)
OKLCHoklch(50.52% 0.182 273.2)
XYZxyz(16.4260, 11.9431, 57.3053)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754CA #CABD47
analogous
#4795CA #4754CA #7B47CA
triadic
#4754CA #CA4754 #54CA47
tetradic
#4754CA #CA4795 #CABD47 #47CA7B
square
#4754CA #CA4795 #CABD47 #47CA7B
split-complementary
#4754CA #CA7B47 #95CA47
monochromatic
#222A75 #2F3BA4 #4754CA #7780D8 #A6ACE5

Accessibility & contrast

On white

6.20
#4754CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4754CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754CA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754CA#FFFFFF#000000##FFFFFF
##4754CA1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4754ca;
/* rgb */ color: rgb(71, 84, 202);
/* oklch */ color: oklch(50.5% 0.182 273.2);
Tailwind
colors: {
  custom: {
    50: '#8884db',
    500: '#4754ca',
    950: '#000000',
  },
}
SCSS
$custom: #4754ca;
$custom-light: #8884db;
$custom-dark: #000000;
JSON
{
  "hex": "#4754ca",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 234.046,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.50518,
    "c": 0.18159,
    "h": 273.2
  },
  "luminance": 0.11945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4754CA

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

Preview Lab → · Contrast checker → · Palette generator →

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