#4A5ED8#4A5ED8

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

Color values

HEX#4A5ED8
RGBrgb(74, 94, 216)
HSLhsl(232, 65%, 57%)
HSVhsv(232, 66%, 85%)
CMYKcmyk(65.7%, 56.5%, 0%, 15.3%)
CIE-LABlab(44.83, 31.28, -65.00)
CIE-LCHlch(44.83, 72.14, 295.70°)
OKLaboklab(53.65% 0.0051 -0.1871)
OKLCHoklch(53.65% 0.187 271.6)
XYZxyz(19.2172, 14.4174, 66.7225)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ED8 #D8C44A
analogous
#4AA5D8 #4A5ED8 #7D4AD8
triadic
#4A5ED8 #D84A5E #5ED84A
tetradic
#4A5ED8 #D84AA5 #D8C44A #4AD87D
square
#4A5ED8 #D84AA5 #D8C44A #4AD87D
split-complementary
#4A5ED8 #D87D4A #A5D84A
monochromatic
#1E2D8A #293DBC #4A5ED8 #7C8BE3 #AFB8EE

Accessibility & contrast

On white

5.41
#4A5ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4A5ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ED8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ED8#FFFFFF#000000##FFFFFF
##4A5ED81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a5ed8;
/* rgb */ color: rgb(74, 94, 216);
/* oklch */ color: oklch(53.6% 0.187 271.6);
Tailwind
colors: {
  custom: {
    50: '#8c8be5',
    500: '#4a5ed8',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ed8;
$custom-light: #8c8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ed8",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 231.549,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53646,
    "c": 0.18713,
    "h": 271.6
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#4A5ED8
secondary
#DCD4A2
accent
#D040E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A5ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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