#4A4EC0#4A4EC0

#4A4EC0 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.175 H 276.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4A4EC0
RGBrgb(74, 78, 192)
HSLhsl(238, 48%, 52%)
HSVhsv(238, 61%, 75%)
CMYKcmyk(61.5%, 59.4%, 0%, 24.7%)
CIE-LABlab(39.09, 33.12, -60.48)
CIE-LCHlch(39.09, 68.95, 298.71°)
OKLaboklab(48.82% 0.019 -0.1739)
OKLCHoklch(48.82% 0.175 276.2)
XYZxyz(15.0598, 10.7092, 51.1324)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EC0 #C0BC4A
analogous
#4A89C0 #4A4EC0 #814AC0
triadic
#4A4EC0 #C04A4E #4EC04A
tetradic
#4A4EC0 #C04A89 #C0BC4A #4AC081
square
#4A4EC0 #C04A89 #C0BC4A #4AC081
split-complementary
#4A4EC0 #C0814A #89C04A
monochromatic
#25276B #353898 #4A4EC0 #777AD0 #A5A7E0

Accessibility & contrast

On white

6.68
#4A4EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4A4EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EC0
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EC0#FFFFFF#000000##FFFFFF
##4A4EC01.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a4ec0;
/* rgb */ color: rgb(74, 78, 192);
/* oklch */ color: oklch(48.8% 0.175 276.2);
Tailwind
colors: {
  custom: {
    50: '#887fd4',
    500: '#4a4ec0',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ec0;
$custom-light: #887fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ec0",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 192
  },
  "hsl": {
    "h": 237.966,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.17495,
    "h": 276.2
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#4A4EC0
secondary
#CDCB99
accent
#D350D8
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4A4EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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