#4757AE#4757AE

#4757AE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.139 H 272.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#4757AE
RGBrgb(71, 87, 174)
HSLhsl(231, 42%, 48%)
HSVhsv(231, 59%, 68%)
CMYKcmyk(59.2%, 50%, 0%, 31.8%)
CIE-LABlab(39.93, 20.71, -48.55)
CIE-LCHlch(39.93, 52.78, 293.10°)
OKLaboklab(49% 0.0059 -0.1388)
OKLCHoklch(49% 0.139 272.4)
XYZxyz(13.6442, 11.2109, 41.4811)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757AE #AE9E47
analogous
#478AAE #4757AE #6B47AE
triadic
#4757AE #AE4757 #57AE47
tetradic
#4757AE #AE478A #AE9E47 #47AE6B
square
#4757AE #AE478A #AE9E47 #47AE6B
split-complementary
#4757AE #AE6B47 #8AAE47
monochromatic
#242C57 #354183 #4757AE #6E7CC4 #9AA3D6

Accessibility & contrast

On white

6.48
#4757AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4757AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757AE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757AE#FFFFFF#000000##FFFFFF
##4757AE1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B1
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4757ae;
/* rgb */ color: rgb(71, 87, 174);
/* oklch */ color: oklch(49.0% 0.139 272.4);
Tailwind
colors: {
  custom: {
    50: '#8386c7',
    500: '#4757ae',
    950: '#000000',
  },
}
SCSS
$custom: #4757ae;
$custom-light: #8386c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4757ae",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 230.68,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49,
    "c": 0.13893,
    "h": 272.4
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#4757AE
secondary
#C2BA8F
accent
#BF56D2
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4757AE

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

Preview Lab → · Contrast checker → · Palette generator →

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