#4C58DB#4C58DB

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

Color values

HEX#4C58DB
RGBrgb(76, 88, 219)
HSLhsl(235, 67%, 58%)
HSVhsv(235, 65%, 86%)
CMYKcmyk(65.3%, 59.8%, 0%, 14.1%)
CIE-LABlab(43.70, 36.33, -68.55)
CIE-LCHlch(43.70, 77.58, 297.92°)
OKLaboklab(52.91% 0.0122 -0.1975)
OKLCHoklch(52.91% 0.198 273.5)
XYZxyz(19.2521, 13.6287, 68.6201)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C58DB #DBCF4C
analogous
#4C9FDB #4C58DB #874CDB
triadic
#4C58DB #DB4C58 #58DB4C
tetradic
#4C58DB #DB4C9F #DBCF4C #4CDB87
square
#4C58DB #DB4C9F #DBCF4C #4CDB87
split-complementary
#4C58DB #DB874C #9FDB4C
monochromatic
#1D2790 #2734C3 #4C58DB #7F88E5 #B2B7EF

Accessibility & contrast

On white

5.64
#4C58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4C58DB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C58DB#FFFFFF#000000##FFFFFF
##4C58DB1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.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: #4c58db;
/* rgb */ color: rgb(76, 88, 219);
/* oklch */ color: oklch(52.9% 0.198 273.5);
Tailwind
colors: {
  custom: {
    50: '#8e87e7',
    500: '#4c58db',
    950: '#000000',
  },
}
SCSS
$custom: #4c58db;
$custom-light: #8e87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c58db",
  "rgb": {
    "r": 76,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 234.965,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52908,
    "c": 0.19786,
    "h": 273.5
  },
  "luminance": 0.1363
}

Semantic roles & 50–950 ramp

primary
#4C58DB
secondary
#DED9A5
accent
#DB3EE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4C58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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