#4E4EAB#4E4EAB

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

Color values

HEX#4E4EAB
RGBrgb(78, 78, 171)
HSLhsl(240, 37%, 49%)
HSVhsv(240, 54%, 67%)
CMYKcmyk(54.4%, 54.4%, 0%, 32.9%)
CIE-LABlab(37.86, 26.89, -50.09)
CIE-LCHlch(37.86, 56.85, 298.22°)
OKLaboklab(47.5% 0.0236 -0.1432)
OKLCHoklch(47.5% 0.145 279.3)
XYZxyz(13.2147, 10.0079, 39.7556)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4EAB #ABAB4E
analogous
#4E7DAB #4E4EAB #7D4EAB
triadic
#4E4EAB #AB4E4E #4EAB4E
tetradic
#4E4EAB #AB4E7D #ABAB4E #4EAB7D
square
#4E4EAB #AB4E7D #ABAB4E #4EAB7D
split-complementary
#4E4EAB #AB7D4E #7DAB4E
monochromatic
#282857 #3B3B81 #4E4EAB #7676C0 #A0A0D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E4EAB#FFFFFF#000000##FFFFFF
##4E4EAB1.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)
#175DAE
Deuteranopia (green-blind)
#0255A9
Tritanopia (blue-blind)
#236375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4eab;
/* rgb */ color: rgb(78, 78, 171);
/* oklch */ color: oklch(47.5% 0.145 279.3);
Tailwind
colors: {
  custom: {
    50: '#877fc5',
    500: '#4e4eab',
    950: '#000000',
  },
}
SCSS
$custom: #4e4eab;
$custom-light: #877fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4eab",
  "rgb": {
    "r": 78,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 240,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47499,
    "c": 0.14517,
    "h": 279.3
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#4E4EAB
secondary
#C1C194
accent
#CD5ACD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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