#4E4FA8#4E4FA8

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

Color values

HEX#4E4FA8
RGBrgb(78, 79, 168)
HSLhsl(239, 37%, 48%)
HSVhsv(239, 54%, 66%)
CMYKcmyk(53.6%, 53%, 0%, 34.1%)
CIE-LABlab(37.91, 25.27, -48.22)
CIE-LCHlch(37.91, 54.44, 297.65°)
OKLaboklab(47.48% 0.0223 -0.1377)
OKLCHoklch(47.48% 0.14 279.2)
XYZxyz(13.0035, 10.0380, 38.2905)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FA8 #A8A74E
analogous
#4E7CA8 #4E4FA8 #7A4EA8
triadic
#4E4FA8 #A84E4F #4FA84E
tetradic
#4E4FA8 #A84E7C #A8A74E #4EA87A
square
#4E4FA8 #A84E7C #A8A74E #4EA87A
split-complementary
#4E4FA8 #A87A4E #7CA84E
monochromatic
#272854 #3B3B7E #4E4FA8 #7575BF #9E9FD2

Accessibility & contrast

On white

6.98
#4E4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4E4FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FA8
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FA8#FFFFFF#000000##FFFFFF
##4E4FA81.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5DAB
Deuteranopia (green-blind)
#1256A6
Tritanopia (blue-blind)
#266374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4e4fa8;
/* rgb */ color: rgb(78, 79, 168);
/* oklch */ color: oklch(47.5% 0.140 279.2);
Tailwind
colors: {
  custom: {
    50: '#8780c2',
    500: '#4e4fa8',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fa8;
$custom-light: #8780c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fa8",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 239.333,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.13952,
    "h": 279.2
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

primary
#4E4FA8
secondary
#BFBE93
accent
#CB5BCD
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4E4FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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