#4B58D1#4B58D1

#4B58D1 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.0% C 0.185 H 273.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4B58D1
RGBrgb(75, 88, 209)
HSLhsl(234, 59%, 56%)
HSVhsv(234, 64%, 82%)
CMYKcmyk(64.1%, 57.9%, 0%, 18%)
CIE-LABlab(42.88, 32.79, -64.16)
CIE-LCHlch(42.88, 72.05, 297.07°)
OKLaboklab(52.05% 0.0112 -0.1846)
OKLCHoklch(52.05% 0.185 273.5)
XYZxyz(17.8962, 13.0772, 61.8903)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58D1 #D1C44B
analogous
#4B9BD1 #4B58D1 #814BD1
triadic
#4B58D1 #D14B58 #58D14B
tetradic
#4B58D1 #D14B9B #D1C44B #4BD181
square
#4B58D1 #D14B9B #D1C44B #4BD181
split-complementary
#4B58D1 #D1814B #9BD14B
monochromatic
#212A81 #2D3AB1 #4B58D1 #7C85DD #ACB2EA

Accessibility & contrast

On white

5.81
#4B58D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4B58D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58D1
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58D1#FFFFFF#000000##FFFFFF
##4B58D11.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4b58d1;
/* rgb */ color: rgb(75, 88, 209);
/* oklch */ color: oklch(52.0% 0.185 273.5);
Tailwind
colors: {
  custom: {
    50: '#8b87e0',
    500: '#4b58d1',
    950: '#000000',
  },
}
SCSS
$custom: #4b58d1;
$custom-light: #8b87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58d1",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 209
  },
  "hsl": {
    "h": 234.179,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5205,
    "c": 0.18495,
    "h": 273.5
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#4B58D1
secondary
#D8D2A0
accent
#D345E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B58D1

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

Preview Lab → · Contrast checker → · Palette generator →

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