#4E4FAB#4E4FAB

#4E4FAB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.144 H 279.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4E4FAB
RGBrgb(78, 79, 171)
HSLhsl(239, 37%, 49%)
HSVhsv(239, 54%, 67%)
CMYKcmyk(54.4%, 53.8%, 0%, 32.9%)
CIE-LABlab(38.11, 26.25, -49.68)
CIE-LCHlch(38.11, 56.19, 297.85°)
OKLaboklab(47.69% 0.0225 -0.142)
OKLCHoklch(47.69% 0.144 279)
XYZxyz(13.2863, 10.1511, 39.7794)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FAB #ABAA4E
analogous
#4E7EAB #4E4FAB #7C4EAB
triadic
#4E4FAB #AB4E4F #4FAB4E
tetradic
#4E4FAB #AB4E7E #ABAA4E #4EAB7C
square
#4E4FAB #AB4E7E #ABAA4E #4EAB7C
split-complementary
#4E4FAB #AB7C4E #7EAB4E
monochromatic
#282857 #3B3C81 #4E4FAB #7677C0 #A0A0D4

Accessibility & contrast

On white

6.93
#4E4FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E4FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FAB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FAB#FFFFFF#000000##FFFFFF
##4E4FAB1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5DAE
Deuteranopia (green-blind)
#0856A9
Tritanopia (blue-blind)
#236475
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e4fab;
/* rgb */ color: rgb(78, 79, 171);
/* oklch */ color: oklch(47.7% 0.144 279.0);
Tailwind
colors: {
  custom: {
    50: '#8780c5',
    500: '#4e4fab',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fab;
$custom-light: #8780c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fab",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 171
  },
  "hsl": {
    "h": 239.355,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47691,
    "c": 0.14379,
    "h": 279
  },
  "luminance": 0.10152
}

Semantic roles & 50–950 ramp

primary
#4E4FAB
secondary
#C1C094
accent
#CC5ACD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E4FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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