#4C58C8#4C58C8

#4C58C8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.173 H 274.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4C58C8
RGBrgb(76, 88, 200)
HSLhsl(234, 53%, 54%)
HSVhsv(234, 62%, 78%)
CMYKcmyk(62%, 56%, 0%, 21.6%)
CIE-LABlab(42.28, 29.89, -59.93)
CIE-LCHlch(42.28, 66.97, 296.51°)
OKLaboklab(51.42% 0.0121 -0.1722)
OKLCHoklch(51.42% 0.173 274)
XYZxyz(16.8921, 12.6847, 56.1906)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58C8 #C8BC4C
analogous
#4C96C8 #4C58C8 #7E4CC8
triadic
#4C58C8 #C84C58 #58C84C
tetradic
#4C58C8 #C84C96 #C8BC4C #4CC87E
square
#4C58C8 #C84C96 #C8BC4C #4CC87E
split-complementary
#4C58C8 #C87E4C #96C84C
monochromatic
#242C75 #323EA4 #4C58C8 #7B84D6 #AAAFE5

Accessibility & contrast

On white

5.94
#4C58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#4C58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58C8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58C8#FFFFFF#000000##FFFFFF
##4C58C81.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c58c8;
/* rgb */ color: rgb(76, 88, 200);
/* oklch */ color: oklch(51.4% 0.173 274.0);
Tailwind
colors: {
  custom: {
    50: '#8a87d9',
    500: '#4c58c8',
    950: '#000000',
  },
}
SCSS
$custom: #4c58c8;
$custom-light: #8a87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58c8",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 234.194,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.17259,
    "h": 274
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#4C58C8
secondary
#D2CD9E
accent
#CE4BDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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