#4E5ACF#4E5ACF

#4E5ACF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.4% C 0.179 H 274.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4E5ACF
RGBrgb(78, 90, 207)
HSLhsl(234, 57%, 56%)
HSVhsv(234, 62%, 81%)
CMYKcmyk(62.3%, 56.5%, 0%, 18.8%)
CIE-LABlab(43.41, 31.35, -62.13)
CIE-LCHlch(43.41, 69.59, 296.77°)
OKLaboklab(52.45% 0.0126 -0.1786)
OKLCHoklch(52.45% 0.179 274)
XYZxyz(18.0568, 13.4355, 60.6611)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ACF #CFC34E
analogous
#4E9ACF #4E5ACF #824ECF
triadic
#4E5ACF #CF4E5A #5ACF4E
tetradic
#4E5ACF #CF4E9A #CFC34E #4ECF82
square
#4E5ACF #CF4E9A #CFC34E #4ECF82
split-complementary
#4E5ACF #CF824E #9ACF4E
monochromatic
#232B80 #303CB0 #4E5ACF #7E87DC #AEB4E9

Accessibility & contrast

On white

5.70
#4E5ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4E5ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ACF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ACF#FFFFFF#000000##FFFFFF
##4E5ACF1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0061CD
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e5acf;
/* rgb */ color: rgb(78, 90, 207);
/* oklch */ color: oklch(52.4% 0.179 274.0);
Tailwind
colors: {
  custom: {
    50: '#8c88de',
    500: '#4e5acf',
    950: '#000000',
  },
}
SCSS
$custom: #4e5acf;
$custom-light: #8c88de;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5acf",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 207
  },
  "hsl": {
    "h": 234.419,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.17901,
    "h": 274
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#4E5ACF
secondary
#D7D2A2
accent
#D247E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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