#4B58C8#4B58C8

#4B58C8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.173 H 273.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#4B58C8
RGBrgb(75, 88, 200)
HSLhsl(234, 53%, 54%)
HSVhsv(234, 63%, 78%)
CMYKcmyk(62.5%, 56%, 0%, 21.6%)
CIE-LABlab(42.22, 29.72, -60.04)
CIE-LCHlch(42.22, 66.99, 296.34°)
OKLaboklab(51.35% 0.011 -0.1725)
OKLCHoklch(51.35% 0.173 273.7)
XYZxyz(16.8133, 12.6440, 56.1869)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58C8 #C8BB4B
analogous
#4B97C8 #4B58C8 #7D4BC8
triadic
#4B58C8 #C84B58 #58C84B
tetradic
#4B58C8 #C84B97 #C8BB4B #4BC87D
square
#4B58C8 #C84B97 #C8BB4B #4BC87D
split-complementary
#4B58C8 #C87D4B #97C84B
monochromatic
#242C75 #323EA4 #4B58C8 #7A83D6 #A9AFE5

Accessibility & contrast

On white

5.95
#4B58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4B58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58C8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58C8#FFFFFF#000000##FFFFFF
##4B58C81.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b58c8;
/* rgb */ color: rgb(75, 88, 200);
/* oklch */ color: oklch(51.4% 0.173 273.7);
Tailwind
colors: {
  custom: {
    50: '#8a87d9',
    500: '#4b58c8',
    950: '#000000',
  },
}
SCSS
$custom: #4b58c8;
$custom-light: #8a87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58c8",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 233.76,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.17284,
    "h": 273.7
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#4B58C8
secondary
#D2CD9D
accent
#CD4BDD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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