#4B58CB#4B58CB

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

Color values

HEX#4B58CB
RGBrgb(75, 88, 203)
HSLhsl(234, 55%, 55%)
HSVhsv(234, 63%, 80%)
CMYKcmyk(63.1%, 56.7%, 0%, 20.4%)
CIE-LABlab(42.44, 30.74, -61.42)
CIE-LCHlch(42.44, 68.68, 296.59°)
OKLaboklab(51.58% 0.0111 -0.1766)
OKLCHoklch(51.58% 0.177 273.6)
XYZxyz(17.1673, 12.7857, 58.0515)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58CB #CBBE4B
analogous
#4B98CB #4B58CB #7E4BCB
triadic
#4B58CB #CB4B58 #58CB4B
tetradic
#4B58CB #CB4B98 #CBBE4B #4BCB7E
square
#4B58CB #CB4B98 #CBBE4B #4BCB7E
split-complementary
#4B58CB #CB7E4B #98CB4B
monochromatic
#232C79 #313DA8 #4B58CB #7A84D9 #AAB0E6

Accessibility & contrast

On white

5.90
#4B58CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4B58CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58CB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58CB#FFFFFF#000000##FFFFFF
##4B58CB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b58cb;
/* rgb */ color: rgb(75, 88, 203);
/* oklch */ color: oklch(51.6% 0.177 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a87dc',
    500: '#4b58cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b58cb;
$custom-light: #8a87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58cb",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 233.906,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51583,
    "c": 0.1769,
    "h": 273.6
  },
  "luminance": 0.12787
}

Semantic roles & 50–950 ramp

primary
#4B58CB
secondary
#D4CE9E
accent
#CF49DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58CB

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

Preview Lab → · Contrast checker → · Palette generator →

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