#4B58CE#4B58CE

#4B58CE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.8% C 0.181 H 273.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4B58CE
RGBrgb(75, 88, 206)
HSLhsl(234, 57%, 55%)
HSVhsv(234, 64%, 81%)
CMYKcmyk(63.6%, 57.3%, 0%, 19.2%)
CIE-LABlab(42.66, 31.77, -62.79)
CIE-LCHlch(42.66, 70.37, 296.84°)
OKLaboklab(51.82% 0.0111 -0.1806)
OKLCHoklch(51.82% 0.181 273.5)
XYZxyz(17.5283, 12.9300, 59.9526)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58CE #CEC14B
analogous
#4B99CE #4B58CE #804BCE
triadic
#4B58CE #CE4B58 #58CE4B
tetradic
#4B58CE #CE4B99 #CEC14B #4BCE80
square
#4B58CE #CE4B99 #CEC14B #4BCE80
split-complementary
#4B58CE #CE804B #99CE4B
monochromatic
#222B7D #2F3CAD #4B58CE #7B85DB #ABB1E8

Accessibility & contrast

On white

5.86
#4B58CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#4B58CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58CE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58CE#FFFFFF#000000##FFFFFF
##4B58CE1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#005FCC
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b58ce;
/* rgb */ color: rgb(75, 88, 206);
/* oklch */ color: oklch(51.8% 0.181 273.5);
Tailwind
colors: {
  custom: {
    50: '#8b87de',
    500: '#4b58ce',
    950: '#000000',
  },
}
SCSS
$custom: #4b58ce;
$custom-light: #8b87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58ce",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 234.046,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.18093,
    "h": 273.5
  },
  "luminance": 0.12932
}

Semantic roles & 50–950 ramp

primary
#4B58CE
secondary
#D6D09F
accent
#D147E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58CE

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

Preview Lab → · Contrast checker → · Palette generator →

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