#4757BC#4757BC

#4757BC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.0% C 0.159 H 272.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4757BC
RGBrgb(71, 87, 188)
HSLhsl(232, 47%, 51%)
HSVhsv(232, 62%, 74%)
CMYKcmyk(62.2%, 53.7%, 0%, 26.3%)
CIE-LABlab(40.87, 25.54, -55.26)
CIE-LCHlch(40.87, 60.87, 294.81°)
OKLaboklab(50.01% 0.0071 -0.1585)
OKLCHoklch(50.01% 0.159 272.6)
XYZxyz(15.0808, 11.7856, 49.0473)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757BC #BCAC47
analogous
#4791BC #4757BC #7147BC
triadic
#4757BC #BC4757 #57BC47
tetradic
#4757BC #BC4791 #BCAC47 #47BC71
square
#4757BC #BC4791 #BCAC47 #47BC71
split-complementary
#4757BC #BC7147 #91BC47
monochromatic
#242D64 #354191 #4757BC #7480CC #A1A9DD

Accessibility & contrast

On white

6.25
#4757BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4757BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757BC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757BC#FFFFFF#000000##FFFFFF
##4757BC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1466C0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4757bc;
/* rgb */ color: rgb(71, 87, 188);
/* oklch */ color: oklch(50.0% 0.159 272.6);
Tailwind
colors: {
  custom: {
    50: '#8686d1',
    500: '#4757bc',
    950: '#000000',
  },
}
SCSS
$custom: #4757bc;
$custom-light: #8686d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4757bc",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 188
  },
  "hsl": {
    "h": 231.795,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.1587,
    "h": 272.6
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#4757BC
secondary
#C9C295
accent
#C452D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4757BC

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

Preview Lab → · Contrast checker → · Palette generator →

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