#4754BE#4754BE

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

Color values

HEX#4754BE
RGBrgb(71, 84, 190)
HSLhsl(233, 48%, 51%)
HSVhsv(233, 63%, 75%)
CMYKcmyk(62.6%, 55.8%, 0%, 25.5%)
CIE-LABlab(40.24, 28.14, -57.45)
CIE-LCHlch(40.24, 63.97, 296.10°)
OKLaboklab(49.58% 0.0101 -0.165)
OKLCHoklch(49.58% 0.165 273.5)
XYZxyz(15.0600, 11.3967, 50.1114)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4754BE #BEB147
analogous
#478FBE #4754BE #7547BE
triadic
#4754BE #BE4754 #54BE47
tetradic
#4754BE #BE478F #BEB147 #47BE75
square
#4754BE #BE478F #BEB147 #47BE75
split-complementary
#4754BE #BE7547 #8FBE47
monochromatic
#242B66 #343F94 #4754BE #747ECE #A1A8DE

Accessibility & contrast

On white

6.40
#4754BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4754BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4754BE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4754BE#FFFFFF#000000##FFFFFF
##4754BE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4754be;
/* rgb */ color: rgb(71, 84, 190);
/* oklch */ color: oklch(49.6% 0.165 273.5);
Tailwind
colors: {
  custom: {
    50: '#8684d2',
    500: '#4754be',
    950: '#000000',
  },
}
SCSS
$custom: #4754be;
$custom-light: #8684d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4754be",
  "rgb": {
    "r": 71,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 233.445,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.16533,
    "h": 273.5
  },
  "luminance": 0.11398
}

Semantic roles & 50–950 ramp

primary
#4754BE
secondary
#CBC596
accent
#C950D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4754BE

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

Preview Lab → · Contrast checker → · Palette generator →

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