#4A5ED7#4A5ED7

#4A5ED7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.186 H 271.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4A5ED7
RGBrgb(74, 94, 215)
HSLhsl(231, 64%, 57%)
HSVhsv(231, 66%, 84%)
CMYKcmyk(65.6%, 56.3%, 0%, 15.7%)
CIE-LABlab(44.75, 30.94, -64.55)
CIE-LCHlch(44.75, 71.58, 295.61°)
OKLaboklab(53.57% 0.0051 -0.1857)
OKLCHoklch(53.57% 0.186 271.6)
XYZxyz(19.0884, 14.3658, 66.0437)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ED7 #D7C34A
analogous
#4AA5D7 #4A5ED7 #7D4AD7
triadic
#4A5ED7 #D74A5E #5ED74A
tetradic
#4A5ED7 #D74AA5 #D7C34A #4AD77D
square
#4A5ED7 #D74AA5 #D7C34A #4AD77D
split-complementary
#4A5ED7 #D77D4A #A5D74A
monochromatic
#1E2D88 #293EBB #4A5ED7 #7C8BE2 #AEB7ED

Accessibility & contrast

On white

5.42
#4A5ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#4A5ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ED7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ED7#FFFFFF#000000##FFFFFF
##4A5ED71.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a5ed7;
/* rgb */ color: rgb(74, 94, 215);
/* oklch */ color: oklch(53.6% 0.186 271.6);
Tailwind
colors: {
  custom: {
    50: '#8c8be4',
    500: '#4a5ed7',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ed7;
$custom-light: #8c8be4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ed7",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 231.489,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53569,
    "c": 0.1858,
    "h": 271.6
  },
  "luminance": 0.14368
}

Semantic roles & 50–950 ramp

primary
#4A5ED7
secondary
#DBD3A2
accent
#CF41E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A5ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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