#4754BF#4754BF

#4754BF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.167 H 273.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4754BF
RGBrgb(71, 84, 191)
HSLhsl(234, 48%, 51%)
HSVhsv(234, 63%, 75%)
CMYKcmyk(62.8%, 56%, 0%, 25.1%)
CIE-LABlab(40.31, 28.49, -57.91)
CIE-LCHlch(40.31, 64.54, 296.19°)
OKLaboklab(49.66% 0.0101 -0.1664)
OKLCHoklch(49.66% 0.167 273.5)
XYZxyz(15.1697, 11.4406, 50.6889)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754BF #BFB247
analogous
#4790BF #4754BF #7647BF
triadic
#4754BF #BF4754 #54BF47
tetradic
#4754BF #BF4790 #BFB247 #47BF76
square
#4754BF #BF4790 #BFB247 #47BF76
split-complementary
#4754BF #BF7647 #90BF47
monochromatic
#242B68 #343E95 #4754BF #747ECF #A2A8DF

Accessibility & contrast

On white

6.39
#4754BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4754BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754BF
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754BF#FFFFFF#000000##FFFFFF
##4754BF1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4754bf;
/* rgb */ color: rgb(71, 84, 191);
/* oklch */ color: oklch(49.7% 0.167 273.5);
Tailwind
colors: {
  custom: {
    50: '#8684d3',
    500: '#4754bf',
    950: '#000000',
  },
}
SCSS
$custom: #4754bf;
$custom-light: #8684d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4754bf",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 233.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49657,
    "c": 0.1667,
    "h": 273.5
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#4754BF
secondary
#CBC696
accent
#C950D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4754BF

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

Preview Lab → · Contrast checker → · Palette generator →

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