#4A5FD9#4A5FD9

#4A5FD9 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.187 H 271.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4A5FD9
RGBrgb(74, 95, 217)
HSLhsl(231, 65%, 57%)
HSVhsv(231, 66%, 85%)
CMYKcmyk(65.9%, 56.2%, 0%, 14.9%)
CIE-LABlab(45.15, 31.00, -65.05)
CIE-LCHlch(45.15, 72.06, 295.48°)
OKLaboklab(53.91% 0.0043 -0.1872)
OKLCHoklch(53.91% 0.187 271.3)
XYZxyz(19.4364, 14.6482, 67.4353)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FD9 #D9C44A
analogous
#4AA6D9 #4A5FD9 #7D4AD9
triadic
#4A5FD9 #D94A5F #5FD94A
tetradic
#4A5FD9 #D94AA6 #D9C44A #4AD97D
square
#4A5FD9 #D94AA6 #D9C44A #4AD97D
split-complementary
#4A5FD9 #D97D4A #A6D94A
monochromatic
#1D2D8B #283EBE #4A5FD9 #7D8CE4 #AFB8EE

Accessibility & contrast

On white

5.34
#4A5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4A5FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FD9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FD9#FFFFFF#000000##FFFFFF
##4A5FD91.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a5fd9;
/* rgb */ color: rgb(74, 95, 217);
/* oklch */ color: oklch(53.9% 0.187 271.3);
Tailwind
colors: {
  custom: {
    50: '#8c8ce6',
    500: '#4a5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fd9;
$custom-light: #8c8ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fd9",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 231.189,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5391,
    "c": 0.18723,
    "h": 271.3
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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