#4757BF#4757BF

#4757BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.2% C 0.163 H 272.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4757BF
RGBrgb(71, 87, 191)
HSLhsl(232, 48%, 51%)
HSVhsv(232, 63%, 75%)
CMYKcmyk(62.8%, 54.5%, 0%, 25.1%)
CIE-LABlab(41.08, 26.58, -56.67)
CIE-LCHlch(41.08, 62.59, 295.13°)
OKLaboklab(50.23% 0.0073 -0.1627)
OKLCHoklch(50.23% 0.163 272.6)
XYZxyz(15.4076, 11.9163, 50.7682)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757BF #BFAF47
analogous
#4793BF #4757BF #7347BF
triadic
#4757BF #BF4757 #57BF47
tetradic
#4757BF #BF4793 #BFAF47 #47BF73
square
#4757BF #BF4793 #BFAF47 #47BF73
split-complementary
#4757BF #BF7347 #93BF47
monochromatic
#242D68 #344195 #4757BF #7480CF #A2AADF

Accessibility & contrast

On white

6.21
#4757BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4757BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757BF#FFFFFF#000000##FFFFFF
##4757BF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4757bf;
/* rgb */ color: rgb(71, 87, 191);
/* oklch */ color: oklch(50.2% 0.163 272.6);
Tailwind
colors: {
  custom: {
    50: '#8686d3',
    500: '#4757bf',
    950: '#000000',
  },
}
SCSS
$custom: #4757bf;
$custom-light: #8686d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4757bf",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 232,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50233,
    "c": 0.16285,
    "h": 272.6
  },
  "luminance": 0.11918
}

Semantic roles & 50–950 ramp

primary
#4757BF
secondary
#CBC496
accent
#C650D8
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4757BF

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

Preview Lab → · Contrast checker → · Palette generator →

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