#4E4FBB#4E4FBB

#4E4FBB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.166 H 277.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#4E4FBB
RGBrgb(78, 79, 187)
HSLhsl(239, 44%, 52%)
HSVhsv(239, 58%, 73%)
CMYKcmyk(58.3%, 57.8%, 0%, 26.7%)
CIE-LABlab(39.24, 31.53, -57.29)
CIE-LCHlch(39.24, 65.40, 298.82°)
OKLaboklab(48.89% 0.0229 -0.1644)
OKLCHoklch(48.89% 0.166 277.9)
XYZxyz(14.9046, 10.7985, 48.3030)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FBB #BBBA4E
analogous
#4E85BB #4E4FBB #844EBB
triadic
#4E4FBB #BB4E4F #4FBB4E
tetradic
#4E4FBB #BB4E85 #BBBA4E #4EBB84
square
#4E4FBB #BB4E85 #BBBA4E #4EBB84
split-complementary
#4E4FBB #BB844E #85BB4E
monochromatic
#282867 #393993 #4E4FBB #7A7BCC #A6A7DD

Accessibility & contrast

On white

6.65
#4E4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4E4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FBB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FBB#FFFFFF#000000##FFFFFF
##4E4FBB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#03697D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e4fbb;
/* rgb */ color: rgb(78, 79, 187);
/* oklch */ color: oklch(48.9% 0.166 277.9);
Tailwind
colors: {
  custom: {
    50: '#8a80d0',
    500: '#4e4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fbb;
$custom-light: #8a80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fbb",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 239.45,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.16601,
    "h": 277.9
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

primary
#4E4FBB
secondary
#CACA9B
accent
#D354D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4E4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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