#4A58D7#4A58D7

#4A58D7 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.193 H 273.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#4A58D7
RGBrgb(74, 88, 215)
HSLhsl(234, 64%, 57%)
HSVhsv(234, 66%, 84%)
CMYKcmyk(65.6%, 59.1%, 0%, 15.7%)
CIE-LABlab(43.27, 34.68, -66.96)
CIE-LCHlch(43.27, 75.41, 297.38°)
OKLaboklab(52.47% 0.0101 -0.1929)
OKLCHoklch(52.47% 0.193 273)
XYZxyz(18.5754, 13.3399, 65.8728)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58D7 #D7C94A
analogous
#4A9ED7 #4A58D7 #834AD7
triadic
#4A58D7 #D74A58 #58D74A
tetradic
#4A58D7 #D74A9E #D7C94A #4AD783
square
#4A58D7 #D74A9E #D7C94A #4AD783
split-complementary
#4A58D7 #D7834A #9ED74A
monochromatic
#1E2988 #2938BB #4A58D7 #7C86E2 #AEB4ED

Accessibility & contrast

On white

5.72
#4A58D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4A58D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58D7
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58D7#FFFFFF#000000##FFFFFF
##4A58D71.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a58d7;
/* rgb */ color: rgb(74, 88, 215);
/* oklch */ color: oklch(52.5% 0.193 273.0);
Tailwind
colors: {
  custom: {
    50: '#8c87e4',
    500: '#4a58d7',
    950: '#000000',
  },
}
SCSS
$custom: #4a58d7;
$custom-light: #8c87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58d7",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 215
  },
  "hsl": {
    "h": 234.043,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.19313,
    "h": 273
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

primary
#4A58D7
secondary
#DBD6A2
accent
#D641E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A58D7

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

Preview Lab → · Contrast checker → · Palette generator →

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