#4A58D8#4A58D8

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

Color values

HEX#4A58D8
RGBrgb(74, 88, 216)
HSLhsl(234, 65%, 57%)
HSVhsv(234, 66%, 85%)
CMYKcmyk(65.7%, 59.3%, 0%, 15.3%)
CIE-LABlab(43.35, 35.02, -67.41)
CIE-LCHlch(43.35, 75.96, 297.45°)
OKLaboklab(52.55% 0.0101 -0.1942)
OKLCHoklch(52.55% 0.194 273)
XYZxyz(18.7043, 13.3915, 66.5515)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58D8 #D8CA4A
analogous
#4A9FD8 #4A58D8 #834AD8
triadic
#4A58D8 #D84A58 #58D84A
tetradic
#4A58D8 #D84A9F #D8CA4A #4AD883
square
#4A58D8 #D84A9F #D8CA4A #4AD883
split-complementary
#4A58D8 #D8834A #9FD84A
monochromatic
#1E288A #2937BC #4A58D8 #7C86E3 #AFB5EE

Accessibility & contrast

On white

5.71
#4A58D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4A58D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58D8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58D8#FFFFFF#000000##FFFFFF
##4A58D81.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a58d8;
/* rgb */ color: rgb(74, 88, 216);
/* oklch */ color: oklch(52.5% 0.194 273.0);
Tailwind
colors: {
  custom: {
    50: '#8c87e5',
    500: '#4a58d8',
    950: '#000000',
  },
}
SCSS
$custom: #4a58d8;
$custom-light: #8c87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58d8",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 234.085,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52547,
    "c": 0.19445,
    "h": 273
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#4A58D8
secondary
#DCD6A2
accent
#D740E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A58D8

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

Preview Lab → · Contrast checker → · Palette generator →

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