#4757DD#4757DD

#4757DD is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 52.6% C 0.203 H 272.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4757DD
RGBrgb(71, 87, 221)
HSLhsl(234, 69%, 57%)
HSVhsv(234, 68%, 87%)
CMYKcmyk(67.9%, 60.6%, 0%, 13.3%)
CIE-LABlab(43.32, 36.93, -70.31)
CIE-LCHlch(43.32, 79.42, 297.71°)
OKLaboklab(52.6% 0.0076 -0.2028)
OKLCHoklch(52.6% 0.203 272.1)
XYZxyz(19.0535, 13.3746, 69.9700)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4757DD #DDCD47
analogous
#47A2DD #4757DD #8247DD
triadic
#4757DD #DD4757 #57DD47
tetradic
#4757DD #DD47A2 #DDCD47 #47DD82
square
#4757DD #DD47A2 #DDCD47 #47DD82
split-complementary
#4757DD #DD8247 #A2DD47
monochromatic
#1A278F #2435C3 #4757DD #7B86E7 #AEB5F0

Accessibility & contrast

On white

5.71
#4757DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4757DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4757DD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4757DD#FFFFFF#000000##FFFFFF
##4757DD1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0060DA
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4757dd;
/* rgb */ color: rgb(71, 87, 221);
/* oklch */ color: oklch(52.6% 0.203 272.1);
Tailwind
colors: {
  custom: {
    50: '#8c86e9',
    500: '#4757dd',
    950: '#000000',
  },
}
SCSS
$custom: #4757dd;
$custom-light: #8c86e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4757dd",
  "rgb": {
    "r": 71,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 233.6,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.20293,
    "h": 272.1
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#4757DD
secondary
#DED8A2
accent
#D93CEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4757DD

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

Preview Lab → · Contrast checker → · Palette generator →

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