#4B58DB#4B58DB

#4B58DB is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.198 H 273.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4B58DB
RGBrgb(75, 88, 219)
HSLhsl(235, 67%, 58%)
HSVhsv(235, 66%, 86%)
CMYKcmyk(65.8%, 59.8%, 0%, 14.1%)
CIE-LABlab(43.64, 36.19, -68.65)
CIE-LCHlch(43.64, 77.60, 297.80°)
OKLaboklab(52.85% 0.0111 -0.1978)
OKLCHoklch(52.85% 0.198 273.2)
XYZxyz(19.1733, 13.5881, 68.6164)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B58DB #DBCE4B
analogous
#4BA0DB #4B58DB #864BDB
triadic
#4B58DB #DB4B58 #58DB4B
tetradic
#4B58DB #DB4BA0 #DBCE4B #4BDB86
square
#4B58DB #DB4BA0 #DBCE4B #4BDB86
split-complementary
#4B58DB #DB864B #A0DB4B
monochromatic
#1D278F #2735C2 #4B58DB #7E87E5 #B1B7EF

Accessibility & contrast

On white

5.65
#4B58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4B58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B58DB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B58DB#FFFFFF#000000##FFFFFF
##4B58DB1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b58db;
/* rgb */ color: rgb(75, 88, 219);
/* oklch */ color: oklch(52.8% 0.198 273.2);
Tailwind
colors: {
  custom: {
    50: '#8d87e7',
    500: '#4b58db',
    950: '#000000',
  },
}
SCSS
$custom: #4b58db;
$custom-light: #8d87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b58db",
  "rgb": {
    "r": 75,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 234.583,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.19812,
    "h": 273.2
  },
  "luminance": 0.1359
}

Semantic roles & 50–950 ramp

primary
#4B58DB
secondary
#DED9A4
accent
#DA3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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