#4A5ECF#4A5ECF

#4A5ECF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.175 H 271.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4A5ECF
RGBrgb(74, 94, 207)
HSLhsl(231, 58%, 55%)
HSVhsv(231, 64%, 81%)
CMYKcmyk(64.3%, 54.6%, 0%, 18.8%)
CIE-LABlab(44.18, 28.18, -60.90)
CIE-LCHlch(44.18, 67.10, 294.83°)
OKLaboklab(52.96% 0.0048 -0.175)
OKLCHoklch(52.96% 0.175 271.6)
XYZxyz(18.0854, 13.9647, 60.7618)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5ECF #CFBB4A
analogous
#4AA1CF #4A5ECF #784ACF
triadic
#4A5ECF #CF4A5E #5ECF4A
tetradic
#4A5ECF #CF4AA1 #CFBB4A #4ACF78
square
#4A5ECF #CF4AA1 #CFBB4A #4ACF78
split-complementary
#4A5ECF #CF784A #A1CF4A
monochromatic
#212F7D #2E41AE #4A5ECF #7A89DC #ABB4E9

Accessibility & contrast

On white

5.54
#4A5ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4A5ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5ECF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5ECF#FFFFFF#000000##FFFFFF
##4A5ECF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016FD3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a5ecf;
/* rgb */ color: rgb(74, 94, 207);
/* oklch */ color: oklch(53.0% 0.175 271.6);
Tailwind
colors: {
  custom: {
    50: '#8a8bde',
    500: '#4a5ecf',
    950: '#000000',
  },
}
SCSS
$custom: #4a5ecf;
$custom-light: #8a8bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5ecf",
  "rgb": {
    "r": 74,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 230.977,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52961,
    "c": 0.17504,
    "h": 271.6
  },
  "luminance": 0.13966
}

Semantic roles & 50–950 ramp

primary
#4A5ECF
secondary
#D6CE9F
accent
#CA46E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4A5ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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