#4757CA#4757CA

#4757CA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.178 H 272.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#4757CA
RGBrgb(71, 87, 202)
HSLhsl(233, 55%, 54%)
HSVhsv(233, 65%, 79%)
CMYKcmyk(64.9%, 56.9%, 0%, 20.8%)
CIE-LABlab(41.87, 30.39, -61.77)
CIE-LCHlch(41.87, 68.84, 296.19°)
OKLaboklab(51.08% 0.0077 -0.1777)
OKLCHoklch(51.08% 0.178 272.5)
XYZxyz(16.6638, 12.4188, 57.3846)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757CA #CABA47
analogous
#4798CA #4757CA #7847CA
triadic
#4757CA #CA4757 #57CA47
tetradic
#4757CA #CA4798 #CABA47 #47CA78
square
#4757CA #CA4798 #CABA47 #47CA78
split-complementary
#4757CA #CA7847 #98CA47
monochromatic
#222C75 #2F3EA4 #4757CA #7782D8 #A6AEE5

Accessibility & contrast

On white

6.03
#4757CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4757CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757CA
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757CA#FFFFFF#000000##FFFFFF
##4757CA1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4757ca;
/* rgb */ color: rgb(71, 87, 202);
/* oklch */ color: oklch(51.1% 0.178 272.5);
Tailwind
colors: {
  custom: {
    50: '#8886db',
    500: '#4757ca',
    950: '#000000',
  },
}
SCSS
$custom: #4757ca;
$custom-light: #8886db;
$custom-dark: #000000;
JSON
{
  "hex": "#4757ca",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 232.672,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.17786,
    "h": 272.5
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#4757CA
secondary
#D2CC9A
accent
#CC49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4757CA

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

Preview Lab → · Contrast checker → · Palette generator →

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