#4757A4#4757A4

#4757A4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.124 H 272.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4757A4
RGBrgb(71, 87, 164)
HSLhsl(230, 40%, 46%)
HSVhsv(230, 57%, 64%)
CMYKcmyk(56.7%, 47%, 0%, 35.7%)
CIE-LABlab(39.30, 17.28, -43.63)
CIE-LCHlch(39.30, 46.93, 291.61°)
OKLaboklab(48.32% 0.0047 -0.1243)
OKLCHoklch(48.32% 0.124 272.1)
XYZxyz(12.7054, 10.8354, 36.5367)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757A4 #A49447
analogous
#4785A4 #4757A4 #6547A4
triadic
#4757A4 #A44757 #57A447
tetradic
#4757A4 #A44785 #A49447 #47A465
square
#4757A4 #A44785 #A49447 #47A465
split-complementary
#4757A4 #A46547 #85A447
monochromatic
#222A4F #354079 #4757A4 #6A78BE #959FD1

Accessibility & contrast

On white

6.63
#4757A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4757A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757A4
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757A4#FFFFFF#000000##FFFFFF
##4757A41.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3461A7
Deuteranopia (green-blind)
#2759A2
Tritanopia (blue-blind)
#116875
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4757a4;
/* rgb */ color: rgb(71, 87, 164);
/* oklch */ color: oklch(48.3% 0.124 272.1);
Tailwind
colors: {
  custom: {
    50: '#8286bf',
    500: '#4757a4',
    950: '#000000',
  },
}
SCSS
$custom: #4757a4;
$custom-light: #8286bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4757a4",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 164
  },
  "hsl": {
    "h": 229.677,
    "s": 39.574,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48317,
    "c": 0.12444,
    "h": 272.1
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#4757A4
secondary
#BDB48A
accent
#BB58CF
background
#F8F8FB
surface
#EFEFF7
border
#CACAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4757A4

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

Preview Lab → · Contrast checker → · Palette generator →

#4757A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva