#4C58BC#4C58BC

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

Color values

HEX#4C58BC
RGBrgb(76, 88, 188)
HSLhsl(234, 46%, 52%)
HSVhsv(234, 60%, 74%)
CMYKcmyk(59.6%, 53.2%, 0%, 26.3%)
CIE-LABlab(41.45, 25.82, -54.32)
CIE-LCHlch(41.45, 60.14, 295.42°)
OKLaboklab(50.52% 0.0116 -0.1556)
OKLCHoklch(50.52% 0.156 274.3)
XYZxyz(15.5443, 12.1456, 49.0924)
Luminance0.1215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58BC #BCB04C
analogous
#4C90BC #4C58BC #784CBC
triadic
#4C58BC #BC4C58 #58BC4C
tetradic
#4C58BC #BC4C90 #BCB04C #4CBC78
square
#4C58BC #BC4C90 #BCB04C #4CBC78
split-complementary
#4C58BC #BC784C #90BC4C
monochromatic
#272D67 #374194 #4C58BC #7982CD #A5ABDD

Accessibility & contrast

On white

6.12
#4C58BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4C58BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58BC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58BC#FFFFFF#000000##FFFFFF
##4C58BC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c58bc;
/* rgb */ color: rgb(76, 88, 188);
/* oklch */ color: oklch(50.5% 0.156 274.3);
Tailwind
colors: {
  custom: {
    50: '#8887d1',
    500: '#4c58bc',
    950: '#000000',
  },
}
SCSS
$custom: #4c58bc;
$custom-light: #8887d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58bc",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 233.571,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50523,
    "c": 0.15606,
    "h": 274.3
  },
  "luminance": 0.12147
}

Semantic roles & 50–950 ramp

primary
#4C58BC
secondary
#CAC599
accent
#C753D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4C58BC

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

Preview Lab → · Contrast checker → · Palette generator →

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