#4754BB#4754BB

#4754BB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.161 H 273.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#4754BB
RGBrgb(71, 84, 187)
HSLhsl(233, 46%, 51%)
HSVhsv(233, 62%, 73%)
CMYKcmyk(62%, 55.1%, 0%, 26.7%)
CIE-LABlab(40.03, 27.11, -56.04)
CIE-LCHlch(40.03, 62.25, 295.82°)
OKLaboklab(49.35% 0.01 -0.1609)
OKLCHoklch(49.35% 0.161 273.5)
XYZxyz(14.7355, 11.2669, 48.4023)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754BB #BBAE47
analogous
#478EBB #4754BB #7447BB
triadic
#4754BB #BB4754 #54BB47
tetradic
#4754BB #BB478E #BBAE47 #47BB74
square
#4754BB #BB478E #BBAE47 #47BB74
split-complementary
#4754BB #BB7447 #8EBB47
monochromatic
#252C63 #353F90 #4754BB #747ECC #A0A7DC

Accessibility & contrast

On white

6.45
#4754BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4754BB
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754BB#FFFFFF#000000##FFFFFF
##4754BB1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0464BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4754bb;
/* rgb */ color: rgb(71, 84, 187);
/* oklch */ color: oklch(49.4% 0.161 273.5);
Tailwind
colors: {
  custom: {
    50: '#8684d0',
    500: '#4754bb',
    950: '#000000',
  },
}
SCSS
$custom: #4754bb;
$custom-light: #8684d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4754bb",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 233.276,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.16119,
    "h": 273.5
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#4754BB
secondary
#C9C395
accent
#C752D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4754BB

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

Preview Lab → · Contrast checker → · Palette generator →

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