#4B58CC#4B58CC

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

Color values

HEX#4B58CC
RGBrgb(75, 88, 204)
HSLhsl(234, 56%, 55%)
HSVhsv(234, 63%, 80%)
CMYKcmyk(63.2%, 56.9%, 0%, 20%)
CIE-LABlab(42.51, 31.08, -61.88)
CIE-LCHlch(42.51, 69.25, 296.67°)
OKLaboklab(51.66% 0.0111 -0.1779)
OKLCHoklch(51.66% 0.178 273.6)
XYZxyz(17.2868, 12.8335, 58.6812)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58CC #CCBF4B
analogous
#4B99CC #4B58CC #7E4BCC
triadic
#4B58CC #CC4B58 #58CC4B
tetradic
#4B58CC #CC4B99 #CCBF4B #4BCC7E
square
#4B58CC #CC4B99 #CCBF4B #4BCC7E
split-complementary
#4B58CC #CC7E4B #99CC4B
monochromatic
#232B7A #303CAA #4B58CC #7B84DA #AAB0E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B58CC#FFFFFF#000000##FFFFFF
##4B58CC1.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)
#006AD0
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b58cc;
/* rgb */ color: rgb(75, 88, 204);
/* oklch */ color: oklch(51.7% 0.178 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a87dc',
    500: '#4b58cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b58cc;
$custom-light: #8a87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58cc",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 233.953,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5166,
    "c": 0.17825,
    "h": 273.6
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#4B58CC
secondary
#D5CF9E
accent
#D049DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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