#4E52A9#4E52A9

#4E52A9 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.137 H 278.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4E52A9
RGBrgb(78, 82, 169)
HSLhsl(237, 37%, 48%)
HSVhsv(237, 54%, 66%)
CMYKcmyk(53.8%, 51.5%, 0%, 33.7%)
CIE-LABlab(38.76, 23.68, -47.45)
CIE-LCHlch(38.76, 53.04, 296.52°)
OKLaboklab(48.13% 0.0189 -0.1355)
OKLCHoklch(48.13% 0.137 278)
XYZxyz(13.3184, 10.5180, 38.8568)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52A9 #A9A54E
analogous
#4E7FA9 #4E52A9 #774EA9
triadic
#4E52A9 #A94E52 #52A94E
tetradic
#4E52A9 #A94E7F #A9A54E #4EA977
square
#4E52A9 #A94E7F #A9A54E #4EA977
split-complementary
#4E52A9 #A9774E #7FA94E
monochromatic
#272955 #3B3E7F #4E52A9 #7578BF #9FA1D3

Accessibility & contrast

On white

6.77
#4E52A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4E52A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52A9
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52A9#FFFFFF#000000##FFFFFF
##4E52A91.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAC
Deuteranopia (green-blind)
#1A58A7
Tritanopia (blue-blind)
#256575
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4e52a9;
/* rgb */ color: rgb(78, 82, 169);
/* oklch */ color: oklch(48.1% 0.137 278.0);
Tailwind
colors: {
  custom: {
    50: '#8782c3',
    500: '#4e52a9',
    950: '#000000',
  },
}
SCSS
$custom: #4e52a9;
$custom-light: #8782c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52a9",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 169
  },
  "hsl": {
    "h": 237.363,
    "s": 36.842,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48131,
    "c": 0.13677,
    "h": 278
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E52A9

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

Preview Lab → · Contrast checker → · Palette generator →

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