#4C58BF#4C58BF

#4C58BF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.160 H 274.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4C58BF
RGBrgb(76, 88, 191)
HSLhsl(234, 47%, 52%)
HSVhsv(234, 60%, 75%)
CMYKcmyk(60.2%, 53.9%, 0%, 25.1%)
CIE-LABlab(41.65, 26.83, -55.73)
CIE-LCHlch(41.65, 61.86, 295.71°)
OKLaboklab(50.74% 0.0118 -0.1598)
OKLCHoklch(50.74% 0.16 274.2)
XYZxyz(15.8711, 12.2763, 50.8133)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58BF #BFB34C
analogous
#4C92BF #4C58BF #794CBF
triadic
#4C58BF #BF4C58 #58BF4C
tetradic
#4C58BF #BF4C92 #BFB34C #4CBF79
square
#4C58BF #BF4C92 #BFB34C #4CBF79
split-complementary
#4C58BF #BF794C #92BF4C
monochromatic
#262D6B #364098 #4C58BF #7982CF #A6ACDF

Accessibility & contrast

On white

6.08
#4C58BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4C58BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58BF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58BF#FFFFFF#000000##FFFFFF
##4C58BF1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c58bf;
/* rgb */ color: rgb(76, 88, 191);
/* oklch */ color: oklch(50.7% 0.160 274.2);
Tailwind
colors: {
  custom: {
    50: '#8987d3',
    500: '#4c58bf',
    950: '#000000',
  },
}
SCSS
$custom: #4c58bf;
$custom-light: #8987d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58bf",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 233.739,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.16023,
    "h": 274.2
  },
  "luminance": 0.12278
}

Semantic roles & 50–950 ramp

primary
#4C58BF
secondary
#CCC79A
accent
#C951D7
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4C58BF

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

Preview Lab → · Contrast checker → · Palette generator →

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