#4A4EA2#4A4EA2

#4A4EA2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.133 H 277.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4A4EA2
RGBrgb(74, 78, 162)
HSLhsl(237, 37%, 46%)
HSVhsv(237, 54%, 64%)
CMYKcmyk(54.3%, 51.9%, 0%, 36.5%)
CIE-LABlab(36.95, 23.06, -46.19)
CIE-LCHlch(36.95, 51.63, 296.53°)
OKLaboklab(46.55% 0.0181 -0.1319)
OKLCHoklch(46.55% 0.133 277.8)
XYZxyz(12.0680, 9.5125, 35.3756)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EA2 #A29E4A
analogous
#4A7AA2 #4A4EA2 #724AA2
triadic
#4A4EA2 #A24A4E #4EA24A
tetradic
#4A4EA2 #A24A7A #A29E4A #4AA272
square
#4A4EA2 #A24A7A #A29E4A #4AA272
split-complementary
#4A4EA2 #A2724A #7AA24A
monochromatic
#24264E #373A78 #4A4EA2 #6D71BC #979ACF

Accessibility & contrast

On white

7.23
#4A4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4A4EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4EA2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EA2#FFFFFF#000000##FFFFFF
##4A4EA21.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235BA5
Deuteranopia (green-blind)
#1753A0
Tritanopia (blue-blind)
#216170
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a4ea2;
/* rgb */ color: rgb(74, 78, 162);
/* oklch */ color: oklch(46.6% 0.133 277.8);
Tailwind
colors: {
  custom: {
    50: '#837fbe',
    500: '#4a4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ea2;
$custom-light: #837fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ea2",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 237.273,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46552,
    "c": 0.13313,
    "h": 277.8
  },
  "luminance": 0.09513
}

Semantic roles & 50–950 ramp

primary
#4A4EA2
secondary
#BCBA8C
accent
#C85BCD
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4A4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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