#4C58CB#4C58CB

#4C58CB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.177 H 274.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4C58CB
RGBrgb(76, 88, 203)
HSLhsl(234, 55%, 55%)
HSVhsv(234, 63%, 80%)
CMYKcmyk(62.6%, 56.7%, 0%, 20.4%)
CIE-LABlab(42.50, 30.91, -61.31)
CIE-LCHlch(42.50, 68.66, 296.75°)
OKLaboklab(51.65% 0.0122 -0.1762)
OKLCHoklch(51.65% 0.177 274)
XYZxyz(17.2461, 12.8263, 58.0552)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58CB #CBBF4C
analogous
#4C97CB #4C58CB #804CCB
triadic
#4C58CB #CB4C58 #58CB4C
tetradic
#4C58CB #CB4C97 #CBBF4C #4CCB80
square
#4C58CB #CB4C97 #CBBF4C #4CCB80
split-complementary
#4C58CB #CB804C #97CB4C
monochromatic
#232B79 #313CA9 #4C58CB #7B84D9 #ABB0E7

Accessibility & contrast

On white

5.89
#4C58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#4C58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58CB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58CB#FFFFFF#000000##FFFFFF
##4C58CB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4c58cb;
/* rgb */ color: rgb(76, 88, 203);
/* oklch */ color: oklch(51.6% 0.177 274.0);
Tailwind
colors: {
  custom: {
    50: '#8b87dc',
    500: '#4c58cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c58cb;
$custom-light: #8b87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58cb",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 234.331,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.17665,
    "h": 274
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#4C58CB
secondary
#D4CF9F
accent
#D049DE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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