#4A5ECB#4A5ECB

#4A5ECB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.170 H 271.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4A5ECB
RGBrgb(74, 94, 203)
HSLhsl(231, 55%, 54%)
HSVhsv(231, 64%, 80%)
CMYKcmyk(63.5%, 53.7%, 0%, 20.4%)
CIE-LABlab(43.90, 26.80, -59.05)
CIE-LCHlch(43.90, 64.84, 294.41°)
OKLaboklab(52.66% 0.0045 -0.1695)
OKLCHoklch(52.66% 0.17 271.5)
XYZxyz(17.6026, 13.7715, 58.2189)
Luminance0.1377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ECB #CBB74A
analogous
#4A9ECB #4A5ECB #774ACB
triadic
#4A5ECB #CB4A5E #5ECB4A
tetradic
#4A5ECB #CB4A9E #CBB74A #4ACB77
square
#4A5ECB #CB4A9E #CBB74A #4ACB77
split-complementary
#4A5ECB #CB774A #9ECB4A
monochromatic
#233078 #3043A8 #4A5ECB #7A88D9 #A9B3E6

Accessibility & contrast

On white

5.59
#4A5ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A5ECB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ECB#FFFFFF#000000##FFFFFF
##4A5ECB1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126ECF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a5ecb;
/* rgb */ color: rgb(74, 94, 203);
/* oklch */ color: oklch(52.7% 0.170 271.5);
Tailwind
colors: {
  custom: {
    50: '#898bdc',
    500: '#4a5ecb',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ecb;
$custom-light: #898bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ecb",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 203
  },
  "hsl": {
    "h": 230.698,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52664,
    "c": 0.1696,
    "h": 271.5
  },
  "luminance": 0.13773
}

Semantic roles & 50–950 ramp

primary
#4A5ECB
secondary
#D4CB9D
accent
#C749DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A5ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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