#4A58D5#4A58D5

#4A58D5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.3% C 0.191 H 273.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4A58D5
RGBrgb(74, 88, 213)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 65%, 84%)
CMYKcmyk(65.3%, 58.7%, 0%, 16.5%)
CIE-LABlab(43.12, 34.00, -66.06)
CIE-LCHlch(43.12, 74.30, 297.23°)
OKLaboklab(52.31% 0.0101 -0.1902)
OKLCHoklch(52.31% 0.191 273)
XYZxyz(18.3200, 13.2378, 64.5276)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58D5 #D5C74A
analogous
#4A9ED5 #4A58D5 #824AD5
triadic
#4A58D5 #D54A58 #58D54A
tetradic
#4A58D5 #D54A9E #D5C74A #4AD582
square
#4A58D5 #D54A9E #D5C74A #4AD582
split-complementary
#4A58D5 #D5824A #9ED54A
monochromatic
#1F2986 #2B39B7 #4A58D5 #7C86E1 #ADB4EC

Accessibility & contrast

On white

5.76
#4A58D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4A58D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58D5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58D5#FFFFFF#000000##FFFFFF
##4A58D51.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0060D3
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a58d5;
/* rgb */ color: rgb(74, 88, 213);
/* oklch */ color: oklch(52.3% 0.191 273.0);
Tailwind
colors: {
  custom: {
    50: '#8c87e3',
    500: '#4a58d5',
    950: '#000000',
  },
}
SCSS
$custom: #4a58d5;
$custom-light: #8c87e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58d5",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 233.957,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.19051,
    "h": 273
  },
  "luminance": 0.13239
}

Semantic roles & 50–950 ramp

primary
#4A58D5
secondary
#DAD4A1
accent
#D542E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A58D5

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

Preview Lab → · Contrast checker → · Palette generator →

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