#4E4BA2#4E4BA2

#4E4BA2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.137 H 281.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4E4BA2
RGBrgb(78, 75, 162)
HSLhsl(242, 37%, 46%)
HSVhsv(242, 54%, 64%)
CMYKcmyk(51.9%, 53.7%, 0%, 36.5%)
CIE-LABlab(36.48, 25.86, -46.94)
CIE-LCHlch(36.48, 53.59, 298.85°)
OKLaboklab(46.28% 0.0265 -0.134)
OKLCHoklch(46.28% 0.137 281.2)
XYZxyz(12.1776, 9.2598, 35.3211)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4BA2 #9FA24B
analogous
#4B74A2 #4E4BA2 #7A4BA2
triadic
#4E4BA2 #A24E4B #4BA24E
tetradic
#4E4BA2 #A24B74 #9FA24B #4BA27A
square
#4E4BA2 #A24B74 #9FA24B #4BA27A
split-complementary
#4E4BA2 #A27A4B #74A24B
monochromatic
#26244E #3A3878 #4E4BA2 #716EBC #9A98CF

Accessibility & contrast

On white

7.36
#4E4BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4E4BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E4BA2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4BA2#FFFFFF#000000##FFFFFF
##4E4BA21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C59A5
Deuteranopia (green-blind)
#1253A0
Tritanopia (blue-blind)
#2C5E6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4e4ba2;
/* rgb */ color: rgb(78, 75, 162);
/* oklch */ color: oklch(46.3% 0.137 281.2);
Tailwind
colors: {
  custom: {
    50: '#867dbe',
    500: '#4e4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #4e4ba2;
$custom-light: #867dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4ba2",
  "rgb": {
    "r": 78,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 242.069,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.1366,
    "h": 281.2
  },
  "luminance": 0.0926
}

Semantic roles & 50–950 ramp

primary
#4E4BA2
secondary
#BABC8D
accent
#CD5BC9
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4E4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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