#4A5ECD#4A5ECD

#4A5ECD is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.172 H 271.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4A5ECD
RGBrgb(74, 94, 205)
HSLhsl(231, 57%, 55%)
HSVhsv(231, 64%, 80%)
CMYKcmyk(63.9%, 54.1%, 0%, 19.6%)
CIE-LABlab(44.04, 27.49, -59.97)
CIE-LCHlch(44.04, 65.97, 294.62°)
OKLaboklab(52.81% 0.0046 -0.1723)
OKLCHoklch(52.81% 0.172 271.5)
XYZxyz(17.8425, 13.8675, 59.4822)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ECD #CDB94A
analogous
#4A9FCD #4A5ECD #784ACD
triadic
#4A5ECD #CD4A5E #5ECD4A
tetradic
#4A5ECD #CD4A9F #CDB94A #4ACD78
square
#4A5ECD #CD4A9F #CDB94A #4ACD78
split-complementary
#4A5ECD #CD784A #9FCD4A
monochromatic
#222F7B #2F42AB #4A5ECD #7A89DA #AAB3E7

Accessibility & contrast

On white

5.56
#4A5ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4A5ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ECD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ECD#FFFFFF#000000##FFFFFF
##4A5ECD1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6ED1
Deuteranopia (green-blind)
#0062CB
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a5ecd;
/* rgb */ color: rgb(74, 94, 205);
/* oklch */ color: oklch(52.8% 0.172 271.5);
Tailwind
colors: {
  custom: {
    50: '#8a8bdd',
    500: '#4a5ecd',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ecd;
$custom-light: #8a8bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ecd",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 230.84,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52812,
    "c": 0.17232,
    "h": 271.5
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#4A5ECD
secondary
#D5CD9E
accent
#C948E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A5ECD

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

Preview Lab → · Contrast checker → · Palette generator →

#4A5ECD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva