#4E4FBA#4E4FBA

#4E4FBA is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.165 H 278.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4E4FBA
RGBrgb(78, 79, 186)
HSLhsl(239, 44%, 52%)
HSVhsv(239, 58%, 73%)
CMYKcmyk(58.1%, 57.5%, 0%, 27.1%)
CIE-LABlab(39.17, 31.20, -56.83)
CIE-LCHlch(39.17, 64.83, 298.77°)
OKLaboklab(48.81% 0.0229 -0.163)
OKLCHoklch(48.81% 0.165 278)
XYZxyz(14.7980, 10.7558, 47.7411)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FBA #BAB94E
analogous
#4E85BA #4E4FBA #834EBA
triadic
#4E4FBA #BA4E4F #4FBA4E
tetradic
#4E4FBA #BA4E85 #BAB94E #4EBA83
square
#4E4FBA #BA4E85 #BAB94E #4EBA83
split-complementary
#4E4FBA #BA834E #85BA4E
monochromatic
#282866 #393A92 #4E4FBA #7A7BCB #A6A7DC

Accessibility & contrast

On white

6.66
#4E4FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4E4FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FBA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FBA#FFFFFF#000000##FFFFFF
##4E4FBA1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0058B8
Tritanopia (blue-blind)
#06687D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4e4fba;
/* rgb */ color: rgb(78, 79, 186);
/* oklch */ color: oklch(48.8% 0.165 278.0);
Tailwind
colors: {
  custom: {
    50: '#8980cf',
    500: '#4e4fba',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fba;
$custom-light: #8980cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fba",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 239.444,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.48811,
    "c": 0.16465,
    "h": 278
  },
  "luminance": 0.10757
}

Semantic roles & 50–950 ramp

primary
#4E4FBA
secondary
#CAC99A
accent
#D254D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4E4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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