#4E5FDC#4E5FDC

#4E5FDC is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.4% C 0.190 H 272.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4E5FDC
RGBrgb(78, 95, 220)
HSLhsl(233, 67%, 58%)
HSVhsv(233, 65%, 86%)
CMYKcmyk(64.5%, 56.8%, 0%, 13.7%)
CIE-LABlab(45.59, 32.64, -66.03)
CIE-LCHlch(45.59, 73.66, 296.31°)
OKLaboklab(54.37% 0.0084 -0.19)
OKLCHoklch(54.37% 0.19 272.5)
XYZxyz(20.1480, 14.9696, 69.5239)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5FDC #DCCB4E
analogous
#4EA6DC #4E5FDC #844EDC
triadic
#4E5FDC #DC4E5F #5FDC4E
tetradic
#4E5FDC #DC4EA6 #DCCB4E #4EDC84
square
#4E5FDC #DC4EA6 #DCCB4E #4EDC84
split-complementary
#4E5FDC #DC844E #A6DC4E
monochromatic
#1D2B93 #273AC6 #4E5FDC #818DE6 #B4BBF0

Accessibility & contrast

On white

5.26
#4E5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4E5FDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5FDC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5FDC#FFFFFF#000000##FFFFFF
##4E5FDC1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#0066D9
Tritanopia (blue-blind)
#007D94
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4e5fdc;
/* rgb */ color: rgb(78, 95, 220);
/* oklch */ color: oklch(54.4% 0.190 272.5);
Tailwind
colors: {
  custom: {
    50: '#8e8ce8',
    500: '#4e5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #4e5fdc;
$custom-light: #8e8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5fdc",
  "rgb": {
    "r": 78,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 232.817,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54371,
    "c": 0.19015,
    "h": 272.5
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#4E5FDC
secondary
#DFD8A7
accent
#D53EEA
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4E5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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