#4A58C8#4A58C8

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

Color values

HEX#4A58C8
RGBrgb(74, 88, 200)
HSLhsl(233, 53%, 54%)
HSVhsv(233, 63%, 78%)
CMYKcmyk(63%, 56%, 0%, 21.6%)
CIE-LABlab(42.16, 29.55, -60.14)
CIE-LCHlch(42.16, 67.01, 296.17°)
OKLaboklab(51.29% 0.0099 -0.1728)
OKLCHoklch(51.29% 0.173 273.3)
XYZxyz(16.7356, 12.6040, 56.1833)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58C8 #C8BA4A
analogous
#4A97C8 #4A58C8 #7B4AC8
triadic
#4A58C8 #C84A58 #58C84A
tetradic
#4A58C8 #C84A97 #C8BA4A #4AC87B
square
#4A58C8 #C84A97 #C8BA4A #4AC87B
split-complementary
#4A58C8 #C87B4A #97C84A
monochromatic
#232C74 #323EA3 #4A58C8 #7983D6 #A8AFE5

Accessibility & contrast

On white

5.96
#4A58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4A58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58C8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58C8#FFFFFF#000000##FFFFFF
##4A58C81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4a58c8;
/* rgb */ color: rgb(74, 88, 200);
/* oklch */ color: oklch(51.3% 0.173 273.3);
Tailwind
colors: {
  custom: {
    50: '#8987d9',
    500: '#4a58c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a58c8;
$custom-light: #8987d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58c8",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 233.333,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51291,
    "c": 0.17311,
    "h": 273.3
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#4A58C8
secondary
#D2CC9C
accent
#CD4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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