#4A58C7#4A58C7

#4A58C7 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.172 H 273.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4A58C7
RGBrgb(74, 88, 199)
HSLhsl(233, 53%, 54%)
HSVhsv(233, 63%, 78%)
CMYKcmyk(62.8%, 55.8%, 0%, 22%)
CIE-LABlab(42.09, 29.21, -59.68)
CIE-LCHlch(42.09, 66.44, 296.08°)
OKLaboklab(51.21% 0.0099 -0.1715)
OKLCHoklch(51.21% 0.172 273.3)
XYZxyz(16.6191, 12.5574, 55.5698)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58C7 #C7B94A
analogous
#4A96C7 #4A58C7 #7A4AC7
triadic
#4A58C7 #C74A58 #58C74A
tetradic
#4A58C7 #C74A96 #C7B94A #4AC77A
square
#4A58C7 #C74A96 #C7B94A #4AC77A
split-complementary
#4A58C7 #C77A4A #96C74A
monochromatic
#242C73 #323FA2 #4A58C7 #7983D5 #A7AEE4

Accessibility & contrast

On white

5.98
#4A58C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4A58C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58C7
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58C7#FFFFFF#000000##FFFFFF
##4A58C71.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a58c7;
/* rgb */ color: rgb(74, 88, 199);
/* oklch */ color: oklch(51.2% 0.172 273.3);
Tailwind
colors: {
  custom: {
    50: '#8987d9',
    500: '#4a58c7',
    950: '#000000',
  },
}
SCSS
$custom: #4a58c7;
$custom-light: #8987d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58c7",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 233.28,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.17175,
    "h": 273.3
  },
  "luminance": 0.12559
}

Semantic roles & 50–950 ramp

primary
#4A58C7
secondary
#D1CB9C
accent
#CC4CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A58C7

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

Preview Lab → · Contrast checker → · Palette generator →

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