#4757BE#4757BE

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

Color values

HEX#4757BE
RGBrgb(71, 87, 190)
HSLhsl(232, 48%, 51%)
HSVhsv(232, 63%, 75%)
CMYKcmyk(62.6%, 54.2%, 0%, 25.5%)
CIE-LABlab(41.01, 26.23, -56.20)
CIE-LCHlch(41.01, 62.02, 295.02°)
OKLaboklab(50.16% 0.0072 -0.1613)
OKLCHoklch(50.16% 0.161 272.6)
XYZxyz(15.2979, 11.8724, 50.1906)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757BE #BEAE47
analogous
#4792BE #4757BE #7247BE
triadic
#4757BE #BE4757 #57BE47
tetradic
#4757BE #BE4792 #BEAE47 #47BE72
square
#4757BE #BE4792 #BEAE47 #47BE72
split-complementary
#4757BE #BE7247 #92BE47
monochromatic
#242D66 #344194 #4757BE #7480CE #A1AADE

Accessibility & contrast

On white

6.22
#4757BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4757BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757BE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757BE#FFFFFF#000000##FFFFFF
##4757BE1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E66C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4757be;
/* rgb */ color: rgb(71, 87, 190);
/* oklch */ color: oklch(50.2% 0.161 272.6);
Tailwind
colors: {
  custom: {
    50: '#8686d2',
    500: '#4757be',
    950: '#000000',
  },
}
SCSS
$custom: #4757be;
$custom-light: #8686d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4757be",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 190
  },
  "hsl": {
    "h": 231.933,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.16147,
    "h": 272.6
  },
  "luminance": 0.11874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4757BE

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

Preview Lab → · Contrast checker → · Palette generator →

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