#4A5FD8#4A5FD8

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

Color values

HEX#4A5FD8
RGBrgb(74, 95, 216)
HSLhsl(231, 65%, 57%)
HSVhsv(231, 66%, 85%)
CMYKcmyk(65.7%, 56%, 0%, 15.3%)
CIE-LABlab(45.08, 30.66, -64.60)
CIE-LCHlch(45.08, 71.50, 295.39°)
OKLaboklab(53.83% 0.0042 -0.1858)
OKLCHoklch(53.83% 0.186 271.3)
XYZxyz(19.3067, 14.5964, 66.7524)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5FD8 #D8C34A
analogous
#4AA6D8 #4A5FD8 #7C4AD8
triadic
#4A5FD8 #D84A5F #5FD84A
tetradic
#4A5FD8 #D84AA6 #D8C34A #4AD87C
square
#4A5FD8 #D84AA6 #D8C34A #4AD87C
split-complementary
#4A5FD8 #D87C4A #A6D84A
monochromatic
#1E2E8A #293EBC #4A5FD8 #7C8CE3 #AFB8EE

Accessibility & contrast

On white

5.36
#4A5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4A5FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5FD8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5FD8#FFFFFF#000000##FFFFFF
##4A5FD81.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a5fd8;
/* rgb */ color: rgb(74, 95, 216);
/* oklch */ color: oklch(53.8% 0.186 271.3);
Tailwind
colors: {
  custom: {
    50: '#8c8ce5',
    500: '#4a5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #4a5fd8;
$custom-light: #8c8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5fd8",
  "rgb": {
    "r": 74,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 231.127,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.53834,
    "c": 0.1859,
    "h": 271.3
  },
  "luminance": 0.14598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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