#4A58D2#4A58D2

#4A58D2 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.1% C 0.187 H 273.1°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#4A58D2
RGBrgb(74, 88, 210)
HSLhsl(234, 60%, 56%)
HSVhsv(234, 65%, 82%)
CMYKcmyk(64.8%, 58.1%, 0%, 17.6%)
CIE-LABlab(42.89, 32.97, -64.71)
CIE-LCHlch(42.89, 72.63, 297.00°)
OKLaboklab(52.07% 0.0101 -0.1863)
OKLCHoklch(52.07% 0.187 273.1)
XYZxyz(17.9427, 13.0869, 62.5407)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58D2 #D2C44A
analogous
#4A9CD2 #4A58D2 #804AD2
triadic
#4A58D2 #D24A58 #58D24A
tetradic
#4A58D2 #D24A9C #D2C44A #4AD280
square
#4A58D2 #D24A9C #D2C44A #4AD280
split-complementary
#4A58D2 #D2804A #9CD24A
monochromatic
#202A81 #2C3AB2 #4A58D2 #7B85DE #ACB2EA

Accessibility & contrast

On white

5.80
#4A58D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4A58D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58D2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58D2#FFFFFF#000000##FFFFFF
##4A58D21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a58d2;
/* rgb */ color: rgb(74, 88, 210);
/* oklch */ color: oklch(52.1% 0.187 273.1);
Tailwind
colors: {
  custom: {
    50: '#8b87e1',
    500: '#4a58d2',
    950: '#000000',
  },
}
SCSS
$custom: #4a58d2;
$custom-light: #8b87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58d2",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 233.824,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.18653,
    "h": 273.1
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#4A58D2
secondary
#D8D2A0
accent
#D344E3
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A58D2

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

Preview Lab → · Contrast checker → · Palette generator →

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