#4A58CC#4A58CC

#4A58CC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.179 H 273.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#4A58CC
RGBrgb(74, 88, 204)
HSLhsl(234, 56%, 55%)
HSVhsv(234, 64%, 80%)
CMYKcmyk(63.7%, 56.9%, 0%, 20%)
CIE-LABlab(42.45, 30.92, -61.98)
CIE-LCHlch(42.45, 69.26, 296.52°)
OKLaboklab(51.6% 0.01 -0.1782)
OKLCHoklch(51.6% 0.179 273.2)
XYZxyz(17.2092, 12.7934, 58.6775)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58CC #CCBE4A
analogous
#4A99CC #4A58CC #7D4ACC
triadic
#4A58CC #CC4A58 #58CC4A
tetradic
#4A58CC #CC4A99 #CCBE4A #4ACC7D
square
#4A58CC #CC4A99 #CCBE4A #4ACC7D
split-complementary
#4A58CC #CC7D4A #99CC4A
monochromatic
#222C79 #303DA9 #4A58CC #7A84D9 #A9B0E7

Accessibility & contrast

On white

5.90
#4A58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4A58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58CC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58CC#FFFFFF#000000##FFFFFF
##4A58CC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a58cc;
/* rgb */ color: rgb(74, 88, 204);
/* oklch */ color: oklch(51.6% 0.179 273.2);
Tailwind
colors: {
  custom: {
    50: '#8a87dc',
    500: '#4a58cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a58cc;
$custom-light: #8a87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58cc",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 233.538,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51599,
    "c": 0.17851,
    "h": 273.2
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#4A58CC
secondary
#D4CE9D
accent
#CF48DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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