#4A58D3#4A58D3

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

Color values

HEX#4A58D3
RGBrgb(74, 88, 211)
HSLhsl(234, 61%, 56%)
HSVhsv(234, 65%, 83%)
CMYKcmyk(64.9%, 58.3%, 0%, 17.3%)
CIE-LABlab(42.97, 33.32, -65.16)
CIE-LCHlch(42.97, 73.19, 297.08°)
OKLaboklab(52.15% 0.0101 -0.1876)
OKLCHoklch(52.15% 0.188 273.1)
XYZxyz(18.0677, 13.1368, 63.1989)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58D3 #D3C54A
analogous
#4A9CD3 #4A58D3 #804AD3
triadic
#4A58D3 #D34A58 #58D34A
tetradic
#4A58D3 #D34A9C #D3C54A #4AD380
square
#4A58D3 #D34A9C #D3C54A #4AD380
split-complementary
#4A58D3 #D3804A #9CD34A
monochromatic
#202A83 #2C3AB4 #4A58D3 #7B85DF #ACB3EB

Accessibility & contrast

On white

5.79
#4A58D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4A58D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58D3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58D3#FFFFFF#000000##FFFFFF
##4A58D31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a58d3;
/* rgb */ color: rgb(74, 88, 211);
/* oklch */ color: oklch(52.1% 0.188 273.1);
Tailwind
colors: {
  custom: {
    50: '#8b87e1',
    500: '#4a58d3',
    950: '#000000',
  },
}
SCSS
$custom: #4a58d3;
$custom-light: #8b87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58d3",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 233.869,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52147,
    "c": 0.18786,
    "h": 273.1
  },
  "luminance": 0.13138
}

Semantic roles & 50–950 ramp

primary
#4A58D3
secondary
#D9D3A0
accent
#D444E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A58D3

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

Preview Lab → · Contrast checker → · Palette generator →

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