#4C58D3#4C58D3

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

Color values

HEX#4C58D3
RGBrgb(76, 88, 211)
HSLhsl(235, 61%, 56%)
HSVhsv(235, 64%, 83%)
CMYKcmyk(64%, 58.3%, 0%, 17.3%)
CIE-LABlab(43.09, 33.62, -64.96)
CIE-LCHlch(43.09, 73.15, 297.37°)
OKLaboklab(52.27% 0.0123 -0.1869)
OKLCHoklch(52.27% 0.187 273.7)
XYZxyz(18.2242, 13.2175, 63.2062)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58D3 #D3C74C
analogous
#4C9CD3 #4C58D3 #844CD3
triadic
#4C58D3 #D34C58 #58D34C
tetradic
#4C58D3 #D34C9C #D3C74C #4CD384
square
#4C58D3 #D34C9C #D3C74C #4CD384
split-complementary
#4C58D3 #D3844C #9CD34C
monochromatic
#202984 #2D39B5 #4C58D3 #7D86DF #AEB4EB

Accessibility & contrast

On white

5.76
#4C58D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4C58D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58D3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58D3#FFFFFF#000000##FFFFFF
##4C58D31.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c58d3;
/* rgb */ color: rgb(76, 88, 211);
/* oklch */ color: oklch(52.3% 0.187 273.7);
Tailwind
colors: {
  custom: {
    50: '#8c87e1',
    500: '#4c58d3',
    950: '#000000',
  },
}
SCSS
$custom: #4c58d3;
$custom-light: #8c87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58d3",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 211
  },
  "hsl": {
    "h": 234.667,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52269,
    "c": 0.18735,
    "h": 273.7
  },
  "luminance": 0.13219
}

Semantic roles & 50–950 ramp

primary
#4C58D3
secondary
#D9D4A2
accent
#D544E4
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4C58D3

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

Preview Lab → · Contrast checker → · Palette generator →

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