#4B58CD#4B58CD

#4B58CD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.7% C 0.180 H 273.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#4B58CD
RGBrgb(75, 88, 205)
HSLhsl(234, 57%, 55%)
HSVhsv(234, 63%, 80%)
CMYKcmyk(63.4%, 57.1%, 0%, 19.6%)
CIE-LABlab(42.58, 31.43, -62.33)
CIE-LCHlch(42.58, 69.81, 296.75°)
OKLaboklab(51.74% 0.0111 -0.1792)
OKLCHoklch(51.74% 0.18 273.6)
XYZxyz(17.4072, 12.8816, 59.3148)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58CD #CDC04B
analogous
#4B99CD #4B58CD #7F4BCD
triadic
#4B58CD #CD4B58 #58CD4B
tetradic
#4B58CD #CD4B99 #CDC04B #4BCD7F
square
#4B58CD #CD4B99 #CDC04B #4BCD7F
split-complementary
#4B58CD #CD7F4B #99CD4B
monochromatic
#222B7B #303CAB #4B58CD #7B84DA #ABB1E8

Accessibility & contrast

On white

5.87
#4B58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4B58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58CD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58CD#FFFFFF#000000##FFFFFF
##4B58CD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b58cd;
/* rgb */ color: rgb(75, 88, 205);
/* oklch */ color: oklch(51.7% 0.180 273.6);
Tailwind
colors: {
  custom: {
    50: '#8b87dd',
    500: '#4b58cd',
    950: '#000000',
  },
}
SCSS
$custom: #4b58cd;
$custom-light: #8b87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58cd",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 234,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.1796,
    "h": 273.6
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#4B58CD
secondary
#D5D09F
accent
#D148E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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