#4E4FD3#4E4FD3

#4E4FD3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.198 H 276.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4E4FD3
RGBrgb(78, 79, 211)
HSLhsl(240, 60%, 57%)
HSVhsv(240, 63%, 83%)
CMYKcmyk(63%, 62.6%, 0%, 17.3%)
CIE-LABlab(41.08, 39.46, -68.23)
CIE-LCHlch(41.08, 78.82, 300.04°)
OKLaboklab(50.82% 0.0221 -0.1966)
OKLCHoklch(50.82% 0.198 276.4)
XYZxyz(17.6919, 11.9134, 62.9826)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FD3 #D3D24E
analogous
#4E92D3 #4E4FD3 #904ED3
triadic
#4E4FD3 #D34E4F #4FD34E
tetradic
#4E4FD3 #D34E92 #D3D24E #4ED390
square
#4E4FD3 #D34E92 #D3D24E #4ED390
split-complementary
#4E4FD3 #D3904E #92D34E
monochromatic
#212285 #2D2EB6 #4E4FD3 #7F80DF #B0B0EB

Accessibility & contrast

On white

6.21
#4E4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4E4FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FD3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FD3#FFFFFF#000000##FFFFFF
##4E4FD31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005BD0
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e4fd3;
/* rgb */ color: rgb(78, 79, 211);
/* oklch */ color: oklch(50.8% 0.198 276.4);
Tailwind
colors: {
  custom: {
    50: '#8e81e1',
    500: '#4e4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fd3;
$custom-light: #8e81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fd3",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 239.549,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.19781,
    "h": 276.4
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#4E4FD3
secondary
#DAD9A3
accent
#E244E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4E4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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