#4A5EDA#4A5EDA

#4A5EDA is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.190 H 271.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4A5EDA
RGBrgb(74, 94, 218)
HSLhsl(232, 66%, 57%)
HSVhsv(232, 66%, 85%)
CMYKcmyk(66.1%, 56.9%, 0%, 14.5%)
CIE-LABlab(44.97, 31.97, -65.91)
CIE-LCHlch(44.97, 73.25, 295.88°)
OKLaboklab(53.8% 0.0051 -0.1897)
OKLCHoklch(53.8% 0.19 271.5)
XYZxyz(19.4774, 14.5214, 68.0925)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5EDA #DAC64A
analogous
#4AA6DA #4A5EDA #7E4ADA
triadic
#4A5EDA #DA4A5E #5EDA4A
tetradic
#4A5EDA #DA4AA6 #DAC64A #4ADA7E
square
#4A5EDA #DA4AA6 #DAC64A #4ADA7E
split-complementary
#4A5EDA #DA7E4A #A6DA4A
monochromatic
#1D2C8D #273CC0 #4A5EDA #7D8BE4 #B0B8EF

Accessibility & contrast

On white

5.38
#4A5EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4A5EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5EDA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5EDA#FFFFFF#000000##FFFFFF
##4A5EDA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DE
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a5eda;
/* rgb */ color: rgb(74, 94, 218);
/* oklch */ color: oklch(53.8% 0.190 271.5);
Tailwind
colors: {
  custom: {
    50: '#8c8be6',
    500: '#4a5eda',
    950: '#000000',
  },
}
SCSS
$custom: #4a5eda;
$custom-light: #8c8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5eda",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 231.667,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.18979,
    "h": 271.5
  },
  "luminance": 0.14523
}

Semantic roles & 50–950 ramp

primary
#4A5EDA
secondary
#DDD5A3
accent
#D13FE9
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4A5EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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