#4A58D6#4A58D6

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

Color values

HEX#4A58D6
RGBrgb(74, 88, 214)
HSLhsl(234, 63%, 56%)
HSVhsv(234, 65%, 84%)
CMYKcmyk(65.4%, 58.9%, 0%, 16.1%)
CIE-LABlab(43.20, 34.34, -66.51)
CIE-LCHlch(43.20, 74.85, 297.31°)
OKLaboklab(52.39% 0.0101 -0.1916)
OKLCHoklch(52.39% 0.192 273)
XYZxyz(18.4473, 13.2887, 65.1981)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58D6 #D6C84A
analogous
#4A9ED6 #4A58D6 #824AD6
triadic
#4A58D6 #D64A58 #58D64A
tetradic
#4A58D6 #D64A9E #D6C84A #4AD682
square
#4A58D6 #D64A9E #D6C84A #4AD682
split-complementary
#4A58D6 #D6824A #9ED64A
monochromatic
#1F2987 #2A38B9 #4A58D6 #7C86E1 #AEB4ED

Accessibility & contrast

On white

5.74
#4A58D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4A58D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58D6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58D6#FFFFFF#000000##FFFFFF
##4A58D61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a58d6;
/* rgb */ color: rgb(74, 88, 214);
/* oklch */ color: oklch(52.4% 0.192 273.0);
Tailwind
colors: {
  custom: {
    50: '#8c87e4',
    500: '#4a58d6',
    950: '#000000',
  },
}
SCSS
$custom: #4a58d6;
$custom-light: #8c87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58d6",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 214
  },
  "hsl": {
    "h": 234,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52386,
    "c": 0.19183,
    "h": 273
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#4A58D6
secondary
#DBD5A1
accent
#D642E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A58D6

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

Preview Lab → · Contrast checker → · Palette generator →

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