#4C58D4#4C58D4

#4C58D4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.189 H 273.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#4C58D4
RGBrgb(76, 88, 212)
HSLhsl(235, 61%, 56%)
HSVhsv(235, 64%, 83%)
CMYKcmyk(64.2%, 58.5%, 0%, 16.9%)
CIE-LABlab(43.16, 33.96, -65.41)
CIE-LCHlch(43.16, 73.70, 297.44°)
OKLaboklab(52.35% 0.0123 -0.1883)
OKLCHoklch(52.35% 0.189 273.7)
XYZxyz(18.3499, 13.2678, 63.8685)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58D4 #D4C84C
analogous
#4C9CD4 #4C58D4 #844CD4
triadic
#4C58D4 #D44C58 #58D44C
tetradic
#4C58D4 #D44C9C #D4C84C #4CD484
square
#4C58D4 #D44C9C #D4C84C #4CD484
split-complementary
#4C58D4 #D4844C #9CD44C
monochromatic
#202986 #2C38B7 #4C58D4 #7D86E0 #AFB4EC

Accessibility & contrast

On white

5.75
#4C58D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#4C58D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58D4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58D4#FFFFFF#000000##FFFFFF
##4C58D41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4c58d4;
/* rgb */ color: rgb(76, 88, 212);
/* oklch */ color: oklch(52.3% 0.189 273.7);
Tailwind
colors: {
  custom: {
    50: '#8c87e2',
    500: '#4c58d4',
    950: '#000000',
  },
}
SCSS
$custom: #4c58d4;
$custom-light: #8c87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58d4",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 212
  },
  "hsl": {
    "h": 234.706,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52348,
    "c": 0.18867,
    "h": 273.7
  },
  "luminance": 0.13269
}

Semantic roles & 50–950 ramp

primary
#4C58D4
secondary
#DAD5A2
accent
#D643E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4C58D4

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

Preview Lab → · Contrast checker → · Palette generator →

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