#4757CB#4757CB

#4757CB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.2% C 0.179 H 272.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4757CB
RGBrgb(71, 87, 203)
HSLhsl(233, 56%, 54%)
HSVhsv(233, 65%, 80%)
CMYKcmyk(65%, 57.1%, 0%, 20.4%)
CIE-LABlab(41.95, 30.73, -62.23)
CIE-LCHlch(41.95, 69.40, 296.28°)
OKLaboklab(51.15% 0.0077 -0.179)
OKLCHoklch(51.15% 0.179 272.5)
XYZxyz(16.7826, 12.4663, 58.0101)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757CB #CBBB47
analogous
#4799CB #4757CB #7947CB
triadic
#4757CB #CB4757 #57CB47
tetradic
#4757CB #CB4799 #CBBB47 #47CB79
square
#4757CB #CB4799 #CBBB47 #47CB79
split-complementary
#4757CB #CB7947 #99CB47
monochromatic
#212C76 #2F3DA6 #4757CB #7783D8 #A6AEE6

Accessibility & contrast

On white

6.01
#4757CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4757CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757CB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757CB#FFFFFF#000000##FFFFFF
##4757CB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4757cb;
/* rgb */ color: rgb(71, 87, 203);
/* oklch */ color: oklch(51.2% 0.179 272.5);
Tailwind
colors: {
  custom: {
    50: '#8886dc',
    500: '#4757cb',
    950: '#000000',
  },
}
SCSS
$custom: #4757cb;
$custom-light: #8886dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4757cb",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 232.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.17921,
    "h": 272.5
  },
  "luminance": 0.12468
}

Semantic roles & 50–950 ramp

primary
#4757CB
secondary
#D3CC9B
accent
#CD49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4757CB

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

Preview Lab → · Contrast checker → · Palette generator →

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