#4754BA#4754BA

#4754BA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.160 H 273.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4754BA
RGBrgb(71, 84, 186)
HSLhsl(233, 45%, 50%)
HSVhsv(233, 62%, 73%)
CMYKcmyk(61.8%, 54.8%, 0%, 27.1%)
CIE-LABlab(39.96, 26.77, -55.57)
CIE-LCHlch(39.96, 61.68, 295.72°)
OKLaboklab(49.28% 0.0099 -0.1595)
OKLCHoklch(49.28% 0.16 273.6)
XYZxyz(14.6289, 11.2242, 47.8404)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754BA #BAAD47
analogous
#478EBA #4754BA #7347BA
triadic
#4754BA #BA4754 #54BA47
tetradic
#4754BA #BA478E #BAAD47 #47BA73
square
#4754BA #BA478E #BAAD47 #47BA73
split-complementary
#4754BA #BA7347 #8EBA47
monochromatic
#252C62 #353F8E #4754BA #747DCB #A0A7DB

Accessibility & contrast

On white

6.47
#4754BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4754BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754BA
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754BA#FFFFFF#000000##FFFFFF
##4754BA1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0863BE
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4754ba;
/* rgb */ color: rgb(71, 84, 186);
/* oklch */ color: oklch(49.3% 0.160 273.6);
Tailwind
colors: {
  custom: {
    50: '#8584cf',
    500: '#4754ba',
    950: '#000000',
  },
}
SCSS
$custom: #4754ba;
$custom-light: #8584cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4754ba",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 233.217,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49277,
    "c": 0.15981,
    "h": 273.6
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#4754BA
secondary
#C8C295
accent
#C653D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4754BA

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

Preview Lab → · Contrast checker → · Palette generator →

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