#4E52D3#4E52D3

#4E52D3 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.3% C 0.194 H 275.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#4E52D3
RGBrgb(78, 82, 211)
HSLhsl(238, 60%, 57%)
HSVhsv(238, 63%, 83%)
CMYKcmyk(63%, 61.1%, 0%, 17.3%)
CIE-LABlab(41.78, 37.63, -67.09)
CIE-LCHlch(41.78, 76.93, 299.29°)
OKLaboklab(51.33% 0.0196 -0.1932)
OKLCHoklch(51.33% 0.194 275.8)
XYZxyz(17.9132, 12.3560, 63.0563)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E52D3 #D3CF4E
analogous
#4E95D3 #4E52D3 #8C4ED3
triadic
#4E52D3 #D34E52 #52D34E
tetradic
#4E52D3 #D34E95 #D3CF4E #4ED38C
square
#4E52D3 #D34E95 #D3CF4E #4ED38C
split-complementary
#4E52D3 #D38C4E #95D34E
monochromatic
#212485 #2D31B6 #4E52D3 #7F82DF #B0B2EB

Accessibility & contrast

On white

6.05
#4E52D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4E52D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E52D3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E52D3#FFFFFF#000000##FFFFFF
##4E52D31.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#00728B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e52d3;
/* rgb */ color: rgb(78, 82, 211);
/* oklch */ color: oklch(51.3% 0.194 275.8);
Tailwind
colors: {
  custom: {
    50: '#8e83e1',
    500: '#4e52d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e52d3;
$custom-light: #8e83e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e52d3",
  "rgb": {
    "r": 78,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 238.195,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.1942,
    "h": 275.8
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#4E52D3
secondary
#DAD8A3
accent
#DF44E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4E52D3

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

Preview Lab → · Contrast checker → · Palette generator →

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