#4A4EDF#4A4EDF

#4A4EDF is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.4% C 0.215 H 274.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4A4EDF
RGBrgb(74, 78, 223)
HSLhsl(238, 70%, 58%)
HSVhsv(238, 67%, 87%)
CMYKcmyk(66.8%, 65%, 0%, 12.5%)
CIE-LABlab(41.58, 43.46, -74.29)
CIE-LCHlch(41.58, 86.07, 300.33°)
OKLaboklab(51.42% 0.0173 -0.2144)
OKLCHoklch(51.42% 0.215 274.6)
XYZxyz(18.8633, 12.2306, 71.1644)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EDF #DFDB4A
analogous
#4A98DF #4A4EDF #904ADF
triadic
#4A4EDF #DF4A4E #4EDF4A
tetradic
#4A4EDF #DF4A98 #DFDB4A #4ADF90
square
#4A4EDF #DF4A98 #DFDB4A #4ADF90
split-complementary
#4A4EDF #DF904A #98DF4A
monochromatic
#1A1E94 #2328C8 #4A4EDF #7E81E8 #B2B4F1

Accessibility & contrast

On white

6.09
#4A4EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4A4EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EDF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EDF#FFFFFF#000000##FFFFFF
##4A4EDF1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#005BDC
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a4edf;
/* rgb */ color: rgb(74, 78, 223);
/* oklch */ color: oklch(51.4% 0.215 274.6);
Tailwind
colors: {
  custom: {
    50: '#8e80ea',
    500: '#4a4edf',
    950: '#000000',
  },
}
SCSS
$custom: #4a4edf;
$custom-light: #8e80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4edf",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 223
  },
  "hsl": {
    "h": 238.389,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.51424,
    "c": 0.21515,
    "h": 274.6
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#4A4EDF
secondary
#E0DEA5
accent
#E83BED
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4A4EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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