#4A4EAF#4A4EAF

#4A4EAF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.152 H 277.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4A4EAF
RGBrgb(74, 78, 175)
HSLhsl(238, 41%, 49%)
HSVhsv(238, 58%, 69%)
CMYKcmyk(57.7%, 55.4%, 0%, 31.4%)
CIE-LABlab(37.84, 27.41, -52.50)
CIE-LCHlch(37.84, 59.23, 297.56°)
OKLaboklab(47.5% 0.0189 -0.1505)
OKLCHoklch(47.5% 0.152 277.2)
XYZxyz(13.2838, 9.9988, 41.7791)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EAF #AFAB4A
analogous
#4A81AF #4A4EAF #794AAF
triadic
#4A4EAF #AF4A4E #4EAF4A
tetradic
#4A4EAF #AF4A81 #AFAB4A #4AAF79
square
#4A4EAF #AF4A81 #AFAB4A #4AAF79
split-complementary
#4A4EAF #AF794A #81AF4A
monochromatic
#262859 #383B84 #4A4EAF #7376C4 #9EA0D6

Accessibility & contrast

On white

7.00
#4A4EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4A4EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EAF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EAF#FFFFFF#000000##FFFFFF
##4A4EAF1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095DB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#0B6577
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a4eaf;
/* rgb */ color: rgb(74, 78, 175);
/* oklch */ color: oklch(47.5% 0.152 277.2);
Tailwind
colors: {
  custom: {
    50: '#867fc8',
    500: '#4a4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #4a4eaf;
$custom-light: #867fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4eaf",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 237.624,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.475,
    "c": 0.15164,
    "h": 277.2
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#4A4EAF
secondary
#C2C192
accent
#CC57D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4A4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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