#4A58BC#4A58BC

#4A58BC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.157 H 273.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4A58BC
RGBrgb(74, 88, 188)
HSLhsl(233, 46%, 51%)
HSVhsv(233, 61%, 74%)
CMYKcmyk(60.6%, 53.2%, 0%, 26.3%)
CIE-LABlab(41.32, 25.45, -54.53)
CIE-LCHlch(41.32, 60.17, 295.02°)
OKLaboklab(50.39% 0.0094 -0.1563)
OKLCHoklch(50.39% 0.157 273.4)
XYZxyz(15.3879, 12.0649, 49.0851)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58BC #BCAE4A
analogous
#4A91BC #4A58BC #754ABC
triadic
#4A58BC #BC4A58 #58BC4A
tetradic
#4A58BC #BC4A91 #BCAE4A #4ABC75
square
#4A58BC #BC4A91 #BCAE4A #4ABC75
split-complementary
#4A58BC #BC754A #91BC4A
monochromatic
#262E66 #364293 #4A58BC #7781CD #A3AADD

Accessibility & contrast

On white

6.15
#4A58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4A58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58BC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58BC#FFFFFF#000000##FFFFFF
##4A58BC1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a58bc;
/* rgb */ color: rgb(74, 88, 188);
/* oklch */ color: oklch(50.4% 0.157 273.4);
Tailwind
colors: {
  custom: {
    50: '#8787d1',
    500: '#4a58bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a58bc;
$custom-light: #8787d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58bc",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 232.632,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50393,
    "c": 0.15659,
    "h": 273.4
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#4A58BC
secondary
#CAC498
accent
#C552D6
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4A58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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