#4A58CA#4A58CA

#4A58CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.176 H 273.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#4A58CA
RGBrgb(74, 88, 202)
HSLhsl(233, 55%, 54%)
HSVhsv(233, 63%, 79%)
CMYKcmyk(63.4%, 56.4%, 0%, 20.8%)
CIE-LABlab(42.30, 30.24, -61.06)
CIE-LCHlch(42.30, 68.14, 296.35°)
OKLaboklab(51.44% 0.01 -0.1755)
OKLCHoklch(51.44% 0.176 273.3)
XYZxyz(16.9709, 12.6981, 57.4223)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58CA #CABC4A
analogous
#4A98CA #4A58CA #7C4ACA
triadic
#4A58CA #CA4A58 #58CA4A
tetradic
#4A58CA #CA4A98 #CABC4A #4ACA7C
square
#4A58CA #CA4A98 #CABC4A #4ACA7C
split-complementary
#4A58CA #CA7C4A #98CA4A
monochromatic
#232C77 #313EA6 #4A58CA #7984D8 #A9AFE6

Accessibility & contrast

On white

5.93
#4A58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4A58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58CA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58CA#FFFFFF#000000##FFFFFF
##4A58CA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a58ca;
/* rgb */ color: rgb(74, 88, 202);
/* oklch */ color: oklch(51.4% 0.176 273.3);
Tailwind
colors: {
  custom: {
    50: '#8a87db',
    500: '#4a58ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a58ca;
$custom-light: #8a87db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58ca",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 233.438,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51444,
    "c": 0.17581,
    "h": 273.3
  },
  "luminance": 0.127
}

Semantic roles & 50–950 ramp

primary
#4A58CA
secondary
#D3CD9D
accent
#CE4ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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