#4A58E2#4A58E2

#4A58E2 is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.4% C 0.207 H 272.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4A58E2
RGBrgb(74, 88, 226)
HSLhsl(234, 72%, 59%)
HSVhsv(234, 67%, 89%)
CMYKcmyk(67.3%, 61.1%, 0%, 11.4%)
CIE-LABlab(44.12, 38.42, -71.84)
CIE-LCHlch(44.12, 81.46, 298.14°)
OKLaboklab(53.36% 0.0098 -0.2072)
OKLCHoklch(53.36% 0.207 272.7)
XYZxyz(20.0366, 13.9244, 73.5685)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58E2 #E2D44A
analogous
#4AA4E2 #4A58E2 #884AE2
triadic
#4A58E2 #E24A58 #58E24A
tetradic
#4A58E2 #E24AA4 #E2D44A #4AE288
square
#4A58E2 #E24AA4 #E2D44A #4AE288
split-complementary
#4A58E2 #E2884A #A4E24A
monochromatic
#192499 #2131CE #4A58E2 #7F89EA #B3B9F3

Accessibility & contrast

On white

5.55
#4A58E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A58E2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58E2#FFFFFF#000000##FFFFFF
##4A58E21.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#007B95
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a58e2;
/* rgb */ color: rgb(74, 88, 226);
/* oklch */ color: oklch(53.4% 0.207 272.7);
Tailwind
colors: {
  custom: {
    50: '#8e87ec',
    500: '#4a58e2',
    950: '#000000',
  },
}
SCSS
$custom: #4a58e2;
$custom-light: #8e87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58e2",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 234.474,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.20742,
    "h": 272.7
  },
  "luminance": 0.13926
}

Semantic roles & 50–950 ramp

primary
#4A58E2
secondary
#E2DCA6
accent
#DE39EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4A58E2

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

Preview Lab → · Contrast checker → · Palette generator →

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