#4B58CF#4B58CF

#4B58CF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.182 H 273.5°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4B58CF
RGBrgb(75, 88, 207)
HSLhsl(234, 58%, 55%)
HSVhsv(234, 64%, 81%)
CMYKcmyk(63.8%, 57.5%, 0%, 18.8%)
CIE-LABlab(42.73, 32.11, -63.25)
CIE-LCHlch(42.73, 70.93, 296.91°)
OKLaboklab(51.89% 0.0112 -0.1819)
OKLCHoklch(51.89% 0.182 273.5)
XYZxyz(17.6501, 12.9788, 60.5944)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58CF #CFC24B
analogous
#4B9ACF #4B58CF #804BCF
triadic
#4B58CF #CF4B58 #58CF4B
tetradic
#4B58CF #CF4B9A #CFC24B #4BCF80
square
#4B58CF #CF4B9A #CFC24B #4BCF80
split-complementary
#4B58CF #CF804B #9ACF4B
monochromatic
#222B7E #2E3BAE #4B58CF #7B85DC #ACB2E9

Accessibility & contrast

On white

5.84
#4B58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4B58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58CF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58CF#FFFFFF#000000##FFFFFF
##4B58CF1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b58cf;
/* rgb */ color: rgb(75, 88, 207);
/* oklch */ color: oklch(51.9% 0.182 273.5);
Tailwind
colors: {
  custom: {
    50: '#8b87de',
    500: '#4b58cf',
    950: '#000000',
  },
}
SCSS
$custom: #4b58cf;
$custom-light: #8b87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58cf",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 234.091,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.18227,
    "h": 273.5
  },
  "luminance": 0.1298
}

Semantic roles & 50–950 ramp

primary
#4B58CF
secondary
#D6D19F
accent
#D247E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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