#4A5DCF#4A5DCF

#4A5DCF is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.8% C 0.176 H 271.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4A5DCF
RGBrgb(74, 93, 207)
HSLhsl(231, 58%, 55%)
HSVhsv(231, 64%, 81%)
CMYKcmyk(64.3%, 55.1%, 0%, 18.8%)
CIE-LABlab(43.93, 28.81, -61.31)
CIE-LCHlch(43.93, 67.74, 295.17°)
OKLaboklab(52.77% 0.0056 -0.1762)
OKLCHoklch(52.77% 0.176 271.8)
XYZxyz(17.9971, 13.7880, 60.7323)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A5DCF #CFBC4A
analogous
#4A9FCF #4A5DCF #7A4ACF
triadic
#4A5DCF #CF4A5D #5DCF4A
tetradic
#4A5DCF #CF4A9F #CFBC4A #4ACF7A
square
#4A5DCF #CF4A9F #CFBC4A #4ACF7A
split-complementary
#4A5DCF #CF7A4A #9FCF4A
monochromatic
#212E7D #2E40AE #4A5DCF #7A88DC #ABB4E9

Accessibility & contrast

On white

5.59
#4A5DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4A5DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A5DCF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A5DCF#FFFFFF#000000##FFFFFF
##4A5DCF1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a5dcf;
/* rgb */ color: rgb(74, 93, 207);
/* oklch */ color: oklch(52.8% 0.176 271.8);
Tailwind
colors: {
  custom: {
    50: '#8a8ade',
    500: '#4a5dcf',
    950: '#000000',
  },
}
SCSS
$custom: #4a5dcf;
$custom-light: #8a8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4a5dcf",
  "rgb": {
    "r": 74,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 231.429,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5277,
    "c": 0.17629,
    "h": 271.8
  },
  "luminance": 0.1379
}

Semantic roles & 50–950 ramp

primary
#4A5DCF
secondary
#D6CE9F
accent
#CB46E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A5DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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