#4E4FCF#4E4FCF

#4E4FCF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.5% C 0.193 H 276.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#4E4FCF
RGBrgb(78, 79, 207)
HSLhsl(240, 57%, 56%)
HSVhsv(240, 62%, 81%)
CMYKcmyk(62.3%, 61.8%, 0%, 18.8%)
CIE-LABlab(40.76, 38.14, -66.45)
CIE-LCHlch(40.76, 76.61, 299.86°)
OKLaboklab(50.49% 0.0223 -0.1913)
OKLCHoklch(50.49% 0.193 276.7)
XYZxyz(17.1967, 11.7153, 60.3744)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4FCF #CFCE4E
analogous
#4E8FCF #4E4FCF #8D4ECF
triadic
#4E4FCF #CF4E4F #4FCF4E
tetradic
#4E4FCF #CF4E8F #CFCE4E #4ECF8D
square
#4E4FCF #CF4E8F #CFCE4E #4ECF8D
split-complementary
#4E4FCF #CF8D4E #8FCF4E
monochromatic
#232380 #3031B0 #4E4FCF #7E7FDC #AEAFE9

Accessibility & contrast

On white

6.28
#4E4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4E4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4FCF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4FCF#FFFFFF#000000##FFFFFF
##4E4FCF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4e4fcf;
/* rgb */ color: rgb(78, 79, 207);
/* oklch */ color: oklch(50.5% 0.193 276.7);
Tailwind
colors: {
  custom: {
    50: '#8d80df',
    500: '#4e4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4e4fcf;
$custom-light: #8d80df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4fcf",
  "rgb": {
    "r": 78,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 239.535,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50487,
    "c": 0.19263,
    "h": 276.7
  },
  "luminance": 0.11717
}

Semantic roles & 50–950 ramp

primary
#4E4FCF
secondary
#D7D7A2
accent
#DF47E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4E4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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