#4757AC#4757AC

#4757AC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.136 H 272.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4757AC
RGBrgb(71, 87, 172)
HSLhsl(230, 42%, 48%)
HSVhsv(230, 59%, 67%)
CMYKcmyk(58.7%, 49.4%, 0%, 32.5%)
CIE-LABlab(39.80, 20.02, -47.57)
CIE-LCHlch(39.80, 51.62, 292.82°)
OKLaboklab(48.86% 0.0057 -0.1359)
OKLCHoklch(48.86% 0.136 272.4)
XYZxyz(13.4507, 11.1335, 40.4619)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757AC #AC9C47
analogous
#4789AC #4757AC #6947AC
triadic
#4757AC #AC4757 #57AC47
tetradic
#4757AC #AC4789 #AC9C47 #47AC69
square
#4757AC #AC4789 #AC9C47 #47AC69
split-complementary
#4757AC #AC6947 #89AC47
monochromatic
#232B55 #354181 #4757AC #6D7BC3 #99A2D5

Accessibility & contrast

On white

6.51
#4757AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4757AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757AC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757AC#FFFFFF#000000##FFFFFF
##4757AC1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C62AF
Deuteranopia (green-blind)
#1B5AAA
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4757ac;
/* rgb */ color: rgb(71, 87, 172);
/* oklch */ color: oklch(48.9% 0.136 272.4);
Tailwind
colors: {
  custom: {
    50: '#8386c5',
    500: '#4757ac',
    950: '#000000',
  },
}
SCSS
$custom: #4757ac;
$custom-light: #8386c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4757ac",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 172
  },
  "hsl": {
    "h": 230.495,
    "s": 41.564,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48861,
    "c": 0.13606,
    "h": 272.4
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#4757AC
secondary
#C1B98E
accent
#BE56D1
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4757AC

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

Preview Lab → · Contrast checker → · Palette generator →

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