#4E52BB#4E52BB

#4E52BB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.4% C 0.162 H 277.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#4E52BB
RGBrgb(78, 82, 187)
HSLhsl(238, 44%, 52%)
HSVhsv(238, 58%, 73%)
CMYKcmyk(58.3%, 56.1%, 0%, 26.7%)
CIE-LABlab(39.98, 29.65, -56.09)
CIE-LCHlch(39.98, 63.44, 297.86°)
OKLaboklab(49.44% 0.0199 -0.1609)
OKLCHoklch(49.44% 0.162 277)
XYZxyz(15.1259, 11.2411, 48.3767)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52BB #BBB74E
analogous
#4E89BB #4E52BB #814EBB
triadic
#4E52BB #BB4E52 #52BB4E
tetradic
#4E52BB #BB4E89 #BBB74E #4EBB81
square
#4E52BB #BB4E89 #BBB74E #4EBB81
split-complementary
#4E52BB #BB814E #89BB4E
monochromatic
#282A67 #393C93 #4E52BB #7A7DCC #A6A8DD

Accessibility & contrast

On white

6.46
#4E52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4E52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52BB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52BB#FFFFFF#000000##FFFFFF
##4E52BB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#016B7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4e52bb;
/* rgb */ color: rgb(78, 82, 187);
/* oklch */ color: oklch(49.4% 0.162 277.0);
Tailwind
colors: {
  custom: {
    50: '#8982d0',
    500: '#4e52bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e52bb;
$custom-light: #8982d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52bb",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 237.798,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.16208,
    "h": 277
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#4E52BB
secondary
#CAC99B
accent
#CF54D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4E52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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