#4E54AF#4E54AF

#4E54AF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.9% C 0.143 H 276.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#4E54AF
RGBrgb(78, 84, 175)
HSLhsl(236, 38%, 50%)
HSVhsv(236, 55%, 69%)
CMYKcmyk(55.4%, 52%, 0%, 31.4%)
CIE-LABlab(39.67, 24.39, -49.54)
CIE-LCHlch(39.67, 55.21, 296.21°)
OKLaboklab(48.95% 0.0172 -0.1416)
OKLCHoklch(48.95% 0.143 276.9)
XYZxyz(14.0476, 11.0546, 41.9426)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E54AF #AFA94E
analogous
#4E84AF #4E54AF #794EAF
triadic
#4E54AF #AF4E54 #54AF4E
tetradic
#4E54AF #AF4E84 #AFA94E #4EAF79
square
#4E54AF #AF4E84 #AFA94E #4EAF79
split-complementary
#4E54AF #AF794E #84AF4E
monochromatic
#282B5A #3B4085 #4E54AF #787CC3 #A2A5D6

Accessibility & contrast

On white

6.54
#4E54AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4E54AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E54AF
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E54AF#FFFFFF#000000##FFFFFF
##4E54AF1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2362B2
Deuteranopia (green-blind)
#135AAD
Tritanopia (blue-blind)
#1D6879
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4e54af;
/* rgb */ color: rgb(78, 84, 175);
/* oklch */ color: oklch(48.9% 0.143 276.9);
Tailwind
colors: {
  custom: {
    50: '#8784c7',
    500: '#4e54af',
    950: '#000000',
  },
}
SCSS
$custom: #4e54af;
$custom-light: #8784c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e54af",
  "rgb": {
    "r": 78,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 236.289,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.1426,
    "h": 276.9
  },
  "luminance": 0.11055
}

Semantic roles & 50–950 ramp

primary
#4E54AF
secondary
#C3C096
accent
#C75ACE
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4E54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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