#4B58CA#4B58CA

#4B58CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.176 H 273.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4B58CA
RGBrgb(75, 88, 202)
HSLhsl(234, 55%, 54%)
HSVhsv(234, 63%, 79%)
CMYKcmyk(62.9%, 56.4%, 0%, 20.8%)
CIE-LABlab(42.37, 30.40, -60.96)
CIE-LCHlch(42.37, 68.12, 296.51°)
OKLaboklab(51.51% 0.0111 -0.1752)
OKLCHoklch(51.51% 0.176 273.6)
XYZxyz(17.0485, 12.7381, 57.4259)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58CA #CABD4B
analogous
#4B98CA #4B58CA #7E4BCA
triadic
#4B58CA #CA4B58 #58CA4B
tetradic
#4B58CA #CA4B98 #CABD4B #4BCA7E
square
#4B58CA #CA4B98 #CABD4B #4BCA7E
split-complementary
#4B58CA #CA7E4B #98CA4B
monochromatic
#232C77 #313DA7 #4B58CA #7A84D8 #AAB0E6

Accessibility & contrast

On white

5.92
#4B58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4B58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58CA
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58CA#FFFFFF#000000##FFFFFF
##4B58CA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4b58ca;
/* rgb */ color: rgb(75, 88, 202);
/* oklch */ color: oklch(51.5% 0.176 273.6);
Tailwind
colors: {
  custom: {
    50: '#8a87db',
    500: '#4b58ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b58ca;
$custom-light: #8a87db;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58ca",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 233.858,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51506,
    "c": 0.17555,
    "h": 273.6
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#4B58CA
secondary
#D3CE9D
accent
#CF4ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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