#4A5ED9#4A5ED9

#4A5ED9 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.188 H 271.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4A5ED9
RGBrgb(74, 94, 217)
HSLhsl(232, 65%, 57%)
HSVhsv(232, 66%, 85%)
CMYKcmyk(65.9%, 56.7%, 0%, 14.9%)
CIE-LABlab(44.90, 31.63, -65.46)
CIE-LCHlch(44.90, 72.70, 295.79°)
OKLaboklab(53.72% 0.0051 -0.1884)
OKLCHoklch(53.72% 0.188 271.6)
XYZxyz(19.3469, 14.4692, 67.4055)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ED9 #D9C54A
analogous
#4AA6D9 #4A5ED9 #7D4AD9
triadic
#4A5ED9 #D94A5E #5ED94A
tetradic
#4A5ED9 #D94AA6 #D9C54A #4AD97D
square
#4A5ED9 #D94AA6 #D9C54A #4AD97D
split-complementary
#4A5ED9 #D97D4A #A6D94A
monochromatic
#1D2D8B #283DBE #4A5ED9 #7D8BE4 #AFB8EE

Accessibility & contrast

On white

5.39
#4A5ED9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4A5ED9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ED9
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ED9#FFFFFF#000000##FFFFFF
##4A5ED91.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a5ed9;
/* rgb */ color: rgb(74, 94, 217);
/* oklch */ color: oklch(53.7% 0.188 271.6);
Tailwind
colors: {
  custom: {
    50: '#8c8be6',
    500: '#4a5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ed9;
$custom-light: #8c8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ed9",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 231.608,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53724,
    "c": 0.18846,
    "h": 271.6
  },
  "luminance": 0.14471
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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