#4A58D4#4A58D4

#4A58D4 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.189 H 273.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4A58D4
RGBrgb(74, 88, 212)
HSLhsl(234, 62%, 56%)
HSVhsv(234, 65%, 83%)
CMYKcmyk(65.1%, 58.5%, 0%, 16.9%)
CIE-LABlab(43.04, 33.66, -65.61)
CIE-LCHlch(43.04, 73.74, 297.16°)
OKLaboklab(52.23% 0.0101 -0.1889)
OKLCHoklch(52.23% 0.189 273.1)
XYZxyz(18.1935, 13.1871, 63.8612)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58D4 #D4C64A
analogous
#4A9DD4 #4A58D4 #814AD4
triadic
#4A58D4 #D44A58 #58D44A
tetradic
#4A58D4 #D44A9D #D4C64A #4AD481
square
#4A58D4 #D44A9D #D4C64A #4AD481
split-complementary
#4A58D4 #D4814A #9DD44A
monochromatic
#1F2A84 #2B39B6 #4A58D4 #7B86E0 #ADB3EB

Accessibility & contrast

On white

5.77
#4A58D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4A58D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58D4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58D4#FFFFFF#000000##FFFFFF
##4A58D41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a58d4;
/* rgb */ color: rgb(74, 88, 212);
/* oklch */ color: oklch(52.2% 0.189 273.1);
Tailwind
colors: {
  custom: {
    50: '#8b87e2',
    500: '#4a58d4',
    950: '#000000',
  },
}
SCSS
$custom: #4a58d4;
$custom-light: #8b87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58d4",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 233.913,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.18918,
    "h": 273.1
  },
  "luminance": 0.13189
}

Semantic roles & 50–950 ramp

primary
#4A58D4
secondary
#D9D4A0
accent
#D443E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4A58D4

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

Preview Lab → · Contrast checker → · Palette generator →

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