#4B58BB#4B58BB

#4B58BB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.155 H 273.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4B58BB
RGBrgb(75, 88, 187)
HSLhsl(233, 45%, 51%)
HSVhsv(233, 60%, 73%)
CMYKcmyk(59.9%, 52.9%, 0%, 26.7%)
CIE-LABlab(41.31, 25.29, -53.95)
CIE-LCHlch(41.31, 59.58, 295.12°)
OKLaboklab(50.39% 0.0104 -0.1546)
OKLCHoklch(50.39% 0.155 273.8)
XYZxyz(15.3581, 12.0620, 48.5229)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58BB #BBAE4B
analogous
#4B90BB #4B58BB #764BBB
triadic
#4B58BB #BB4B58 #58BB4B
tetradic
#4B58BB #BB4B90 #BBAE4B #4BBB76
square
#4B58BB #BB4B90 #BBAE4B #4BBB76
split-complementary
#4B58BB #BB764B #90BB4B
monochromatic
#262E65 #374292 #4B58BB #7781CC #A4AADD

Accessibility & contrast

On white

6.15
#4B58BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4B58BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58BB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58BB#FFFFFF#000000##FFFFFF
##4B58BB1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4b58bb;
/* rgb */ color: rgb(75, 88, 187);
/* oklch */ color: oklch(50.4% 0.155 273.8);
Tailwind
colors: {
  custom: {
    50: '#8787d0',
    500: '#4b58bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b58bb;
$custom-light: #8787d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58bb",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 233.036,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.15493,
    "h": 273.8
  },
  "luminance": 0.12063
}

Semantic roles & 50–950 ramp

primary
#4B58BB
secondary
#CAC498
accent
#C653D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4B58BB

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

Preview Lab → · Contrast checker → · Palette generator →

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