#4A58D9#4A58D9

#4A58D9 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.196 H 272.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4A58D9
RGBrgb(74, 88, 217)
HSLhsl(234, 65%, 57%)
HSVhsv(234, 66%, 85%)
CMYKcmyk(65.9%, 59.4%, 0%, 14.9%)
CIE-LABlab(43.42, 35.36, -67.86)
CIE-LCHlch(43.42, 76.52, 297.53°)
OKLaboklab(52.63% 0.0101 -0.1955)
OKLCHoklch(52.63% 0.196 272.9)
XYZxyz(18.8340, 13.4433, 67.2345)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A58D9 #D9CB4A
analogous
#4AA0D9 #4A58D9 #844AD9
triadic
#4A58D9 #D94A58 #58D94A
tetradic
#4A58D9 #D94AA0 #D9CB4A #4AD984
square
#4A58D9 #D94AA0 #D9CB4A #4AD984
split-complementary
#4A58D9 #D9844A #A0D94A
monochromatic
#1D288B #2837BE #4A58D9 #7D87E4 #AFB5EE

Accessibility & contrast

On white

5.69
#4A58D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4A58D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A58D9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A58D9#FFFFFF#000000##FFFFFF
##4A58D91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4a58d9;
/* rgb */ color: rgb(74, 88, 217);
/* oklch */ color: oklch(52.6% 0.196 272.9);
Tailwind
colors: {
  custom: {
    50: '#8c87e6',
    500: '#4a58d9',
    950: '#000000',
  },
}
SCSS
$custom: #4a58d9;
$custom-light: #8c87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a58d9",
  "rgb": {
    "r": 74,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 234.126,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52628,
    "c": 0.19576,
    "h": 272.9
  },
  "luminance": 0.13445
}

Semantic roles & 50–950 ramp

primary
#4A58D9
secondary
#DCD7A2
accent
#D840E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4A58D9

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

Preview Lab → · Contrast checker → · Palette generator →

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