#4A5ECA#4A5ECA

#4A5ECA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.6% C 0.168 H 271.5°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4A5ECA
RGBrgb(74, 94, 202)
HSLhsl(231, 55%, 54%)
HSVhsv(231, 63%, 79%)
CMYKcmyk(63.4%, 53.5%, 0%, 20.8%)
CIE-LABlab(43.83, 26.45, -58.58)
CIE-LCHlch(43.83, 64.28, 294.30°)
OKLaboklab(52.59% 0.0045 -0.1682)
OKLCHoklch(52.59% 0.168 271.5)
XYZxyz(17.4838, 13.7240, 57.5933)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ECA #CAB64A
analogous
#4A9ECA #4A5ECA #764ACA
triadic
#4A5ECA #CA4A5E #5ECA4A
tetradic
#4A5ECA #CA4A9E #CAB64A #4ACA76
square
#4A5ECA #CA4A9E #CAB64A #4ACA76
split-complementary
#4A5ECA #CA764A #9ECA4A
monochromatic
#233077 #3143A6 #4A5ECA #7988D8 #A9B2E6

Accessibility & contrast

On white

5.61
#4A5ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4A5ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ECA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ECA#FFFFFF#000000##FFFFFF
##4A5ECA1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156ECE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#00778B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a5eca;
/* rgb */ color: rgb(74, 94, 202);
/* oklch */ color: oklch(52.6% 0.168 271.5);
Tailwind
colors: {
  custom: {
    50: '#898bdb',
    500: '#4a5eca',
    950: '#000000',
  },
}
SCSS
$custom: #4a5eca;
$custom-light: #898bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5eca",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 230.625,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5259,
    "c": 0.16823,
    "h": 271.5
  },
  "luminance": 0.13726
}

Semantic roles & 50–950 ramp

primary
#4A5ECA
secondary
#D3CB9D
accent
#C74ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A5ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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