#4A58DB#4A58DB

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

Color values

HEX#4A58DB
RGBrgb(74, 88, 219)
HSLhsl(234, 67%, 57%)
HSVhsv(234, 66%, 86%)
CMYKcmyk(66.2%, 59.8%, 0%, 14.1%)
CIE-LABlab(43.58, 36.04, -68.75)
CIE-LCHlch(43.58, 77.62, 297.67°)
OKLaboklab(52.79% 0.01 -0.1981)
OKLCHoklch(52.79% 0.198 272.9)
XYZxyz(19.0957, 13.5480, 68.6128)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58DB #DBCD4A
analogous
#4AA0DB #4A58DB #854ADB
triadic
#4A58DB #DB4A58 #58DB4A
tetradic
#4A58DB #DB4AA0 #DBCD4A #4ADB85
square
#4A58DB #DB4AA0 #DBCD4A #4ADB85
split-complementary
#4A58DB #DB854A #A0DB4A
monochromatic
#1C278E #2635C1 #4A58DB #7D87E5 #B0B6EF

Accessibility & contrast

On white

5.66
#4A58DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4A58DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58DB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58DB#FFFFFF#000000##FFFFFF
##4A58DB1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.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: #4a58db;
/* rgb */ color: rgb(74, 88, 219);
/* oklch */ color: oklch(52.8% 0.198 272.9);
Tailwind
colors: {
  custom: {
    50: '#8d87e7',
    500: '#4a58db',
    950: '#000000',
  },
}
SCSS
$custom: #4a58db;
$custom-light: #8d87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58db",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 234.207,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.19837,
    "h": 272.9
  },
  "luminance": 0.1355
}

Semantic roles & 50–950 ramp

primary
#4A58DB
secondary
#DED8A3
accent
#D93EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4A58DB

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

Preview Lab → · Contrast checker → · Palette generator →

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