#4D58DB#4D58DB

#4D58DB is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.198 H 273.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4D58DB
RGBrgb(77, 88, 219)
HSLhsl(235, 66%, 58%)
HSVhsv(235, 65%, 86%)
CMYKcmyk(64.8%, 59.8%, 0%, 14.1%)
CIE-LABlab(43.76, 36.48, -68.45)
CIE-LCHlch(43.76, 77.56, 298.06°)
OKLaboklab(52.97% 0.0133 -0.1972)
OKLCHoklch(52.97% 0.198 273.8)
XYZxyz(19.3322, 13.6700, 68.6239)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D58DB #DBD04D
analogous
#4D9FDB #4D58DB #894DDB
triadic
#4D58DB #DB4D58 #58DB4D
tetradic
#4D58DB #DB4D9F #DBD04D #4DDB89
square
#4D58DB #DB4D9F #DBD04D #4DDB89
split-complementary
#4D58DB #DB894D #9FDB4D
monochromatic
#1D2690 #2734C3 #4D58DB #8088E5 #B3B8F0

Accessibility & contrast

On white

5.62
#4D58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4D58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D58DB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D58DB#FFFFFF#000000##FFFFFF
##4D58DB1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.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: #4d58db;
/* rgb */ color: rgb(77, 88, 219);
/* oklch */ color: oklch(53.0% 0.198 273.8);
Tailwind
colors: {
  custom: {
    50: '#8e87e7',
    500: '#4d58db',
    950: '#000000',
  },
}
SCSS
$custom: #4d58db;
$custom-light: #8e87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d58db",
  "rgb": {
    "r": 77,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 235.352,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.19761,
    "h": 273.8
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#4D58DB
secondary
#DEDAA6
accent
#DC3FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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