#4C58BA#4C58BA

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

Color values

HEX#4C58BA
RGBrgb(76, 88, 186)
HSLhsl(233, 44%, 51%)
HSVhsv(233, 59%, 73%)
CMYKcmyk(59.1%, 52.7%, 0%, 27.1%)
CIE-LABlab(41.31, 25.14, -53.37)
CIE-LCHlch(41.31, 58.99, 295.22°)
OKLaboklab(50.38% 0.0114 -0.1528)
OKLCHoklch(50.38% 0.153 274.3)
XYZxyz(15.3302, 12.0599, 47.9648)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58BA #BAAE4C
analogous
#4C8FBA #4C58BA #774CBA
triadic
#4C58BA #BA4C58 #58BA4C
tetradic
#4C58BA #BA4C8F #BAAE4C #4CBA77
square
#4C58BA #BA4C8F #BAAE4C #4CBA77
split-complementary
#4C58BA #BA774C #8FBA4C
monochromatic
#272E65 #384291 #4C58BA #7881CB #A4AADC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C58BA#FFFFFF#000000##FFFFFF
##4C58BA1.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)
#1E66BD
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4c58ba;
/* rgb */ color: rgb(76, 88, 186);
/* oklch */ color: oklch(50.4% 0.153 274.3);
Tailwind
colors: {
  custom: {
    50: '#8887cf',
    500: '#4c58ba',
    950: '#000000',
  },
}
SCSS
$custom: #4c58ba;
$custom-light: #8887cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58ba",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 186
  },
  "hsl": {
    "h": 233.455,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.15327,
    "h": 274.3
  },
  "luminance": 0.12061
}

Semantic roles & 50–950 ramp

primary
#4C58BA
secondary
#C9C499
accent
#C654D4
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4C58BA

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

Preview Lab → · Contrast checker → · Palette generator →

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