#4A58CE#4A58CE

#4A58CE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.181 H 273.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4A58CE
RGBrgb(74, 88, 206)
HSLhsl(234, 57%, 55%)
HSVhsv(234, 64%, 81%)
CMYKcmyk(64.1%, 57.3%, 0%, 19.2%)
CIE-LABlab(42.60, 31.61, -62.89)
CIE-LCHlch(42.60, 70.39, 296.68°)
OKLaboklab(51.75% 0.0101 -0.1809)
OKLCHoklch(51.75% 0.181 273.2)
XYZxyz(17.4506, 12.8900, 59.9490)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58CE #CEC04A
analogous
#4A9ACE #4A58CE #7E4ACE
triadic
#4A58CE #CE4A58 #58CE4A
tetradic
#4A58CE #CE4A9A #CEC04A #4ACE7E
square
#4A58CE #CE4A9A #CEC04A #4ACE7E
split-complementary
#4A58CE #CE7E4A #9ACE4A
monochromatic
#222B7C #2F3CAC #4A58CE #7A84DB #AAB1E8

Accessibility & contrast

On white

5.87
#4A58CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4A58CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58CE
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58CE#FFFFFF#000000##FFFFFF
##4A58CE1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a58ce;
/* rgb */ color: rgb(74, 88, 206);
/* oklch */ color: oklch(51.8% 0.181 273.2);
Tailwind
colors: {
  custom: {
    50: '#8a87de',
    500: '#4a58ce',
    950: '#000000',
  },
}
SCSS
$custom: #4a58ce;
$custom-light: #8a87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58ce",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 233.636,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.1812,
    "h": 273.2
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#4A58CE
secondary
#D6D09E
accent
#D047E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A58CE

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

Preview Lab → · Contrast checker → · Palette generator →

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