#4A58D0#4A58D0

#4A58D0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.184 H 273.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4A58D0
RGBrgb(74, 88, 208)
HSLhsl(234, 59%, 55%)
HSVhsv(234, 64%, 82%)
CMYKcmyk(64.4%, 57.7%, 0%, 18.4%)
CIE-LABlab(42.74, 32.29, -63.80)
CIE-LCHlch(42.74, 71.51, 296.84°)
OKLaboklab(51.91% 0.0101 -0.1836)
OKLCHoklch(51.91% 0.184 273.1)
XYZxyz(17.6951, 12.9878, 61.2367)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58D0 #D0C24A
analogous
#4A9BD0 #4A58D0 #7F4AD0
triadic
#4A58D0 #D04A58 #58D04A
tetradic
#4A58D0 #D04A9B #D0C24A #4AD07F
square
#4A58D0 #D04A9B #D0C24A #4AD07F
split-complementary
#4A58D0 #D07F4A #9BD04A
monochromatic
#212B7F #2E3BAF #4A58D0 #7B85DD #ABB2E9

Accessibility & contrast

On white

5.84
#4A58D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4A58D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58D0
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58D0#FFFFFF#000000##FFFFFF
##4A58D01.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005FCE
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4a58d0;
/* rgb */ color: rgb(74, 88, 208);
/* oklch */ color: oklch(51.9% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#8b87df',
    500: '#4a58d0',
    950: '#000000',
  },
}
SCSS
$custom: #4a58d0;
$custom-light: #8b87df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58d0",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 208
  },
  "hsl": {
    "h": 233.731,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.18387,
    "h": 273.1
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#4A58D0
secondary
#D7D19F
accent
#D246E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A58D0

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

Preview Lab → · Contrast checker → · Palette generator →

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