#4E5ACA#4E5ACA

#4E5ACA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.172 H 274.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4E5ACA
RGBrgb(78, 90, 202)
HSLhsl(234, 54%, 55%)
HSVhsv(234, 61%, 79%)
CMYKcmyk(61.4%, 55.4%, 0%, 20.8%)
CIE-LABlab(43.06, 29.66, -59.83)
CIE-LCHlch(43.06, 66.78, 296.37°)
OKLaboklab(52.07% 0.0125 -0.1718)
OKLCHoklch(52.07% 0.172 274.2)
XYZxyz(17.4552, 13.1949, 57.4927)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ACA #CABE4E
analogous
#4E98CA #4E5ACA #804ECA
triadic
#4E5ACA #CA4E5A #5ACA4E
tetradic
#4E5ACA #CA4E98 #CABE4E #4ECA80
square
#4E5ACA #CA4E98 #CABE4E #4ECA80
split-complementary
#4E5ACA #CA804E #98CA4E
monochromatic
#242D79 #323EA8 #4E5ACA #7D86D8 #ACB2E6

Accessibility & contrast

On white

5.77
#4E5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4E5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ACA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ACA#FFFFFF#000000##FFFFFF
##4E5ACA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5aca;
/* rgb */ color: rgb(78, 90, 202);
/* oklch */ color: oklch(52.1% 0.172 274.2);
Tailwind
colors: {
  custom: {
    50: '#8b88db',
    500: '#4e5aca',
    950: '#000000',
  },
}
SCSS
$custom: #4e5aca;
$custom-light: #8b88db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5aca",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 234.194,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5207,
    "c": 0.17224,
    "h": 274.2
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#4E5ACA
secondary
#D4CFA0
accent
#CF4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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