#4C58BE#4C58BE

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

Color values

HEX#4C58BE
RGBrgb(76, 88, 190)
HSLhsl(234, 47%, 52%)
HSVhsv(234, 60%, 75%)
CMYKcmyk(60%, 53.7%, 0%, 25.5%)
CIE-LABlab(41.58, 26.49, -55.26)
CIE-LCHlch(41.58, 61.28, 295.62°)
OKLaboklab(50.67% 0.0117 -0.1584)
OKLCHoklch(50.67% 0.159 274.2)
XYZxyz(15.7614, 12.2324, 50.2357)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58BE #BEB24C
analogous
#4C91BE #4C58BE #794CBE
triadic
#4C58BE #BE4C58 #58BE4C
tetradic
#4C58BE #BE4C91 #BEB24C #4CBE79
square
#4C58BE #BE4C91 #BEB24C #4CBE79
split-complementary
#4C58BE #BE794C #91BE4C
monochromatic
#262D69 #374196 #4C58BE #7982CE #A6ACDF

Accessibility & contrast

On white

6.09
#4C58BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4C58BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C58BE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58BE#FFFFFF#000000##FFFFFF
##4C58BE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1667C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4c58be;
/* rgb */ color: rgb(76, 88, 190);
/* oklch */ color: oklch(50.7% 0.159 274.2);
Tailwind
colors: {
  custom: {
    50: '#8887d2',
    500: '#4c58be',
    950: '#000000',
  },
}
SCSS
$custom: #4c58be;
$custom-light: #8887d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58be",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 190
  },
  "hsl": {
    "h": 233.684,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.15885,
    "h": 274.2
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C58BE

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

Preview Lab → · Contrast checker → · Palette generator →

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