#4A52CD#4A52CD

#4A52CD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.187 H 274.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4A52CD
RGBrgb(74, 82, 205)
HSLhsl(236, 57%, 55%)
HSVhsv(236, 64%, 80%)
CMYKcmyk(63.9%, 60%, 0%, 19.6%)
CIE-LABlab(41.05, 35.01, -64.83)
CIE-LCHlch(41.05, 73.68, 298.37°)
OKLaboklab(50.58% 0.0153 -0.1867)
OKLCHoklch(50.58% 0.187 274.7)
XYZxyz(16.8571, 11.8968, 59.1537)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52CD #CDC54A
analogous
#4A94CD #4A52CD #844ACD
triadic
#4A52CD #CD4A52 #52CD4A
tetradic
#4A52CD #CD4A94 #CDC54A #4ACD84
square
#4A52CD #CD4A94 #CDC54A #4ACD84
split-complementary
#4A52CD #CD844A #94CD4A
monochromatic
#22277B #2F37AB #4A52CD #7A80DA #AAAEE7

Accessibility & contrast

On white

6.21
#4A52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4A52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52CD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52CD#FFFFFF#000000##FFFFFF
##4A52CD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#007087
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a52cd;
/* rgb */ color: rgb(74, 82, 205);
/* oklch */ color: oklch(50.6% 0.187 274.7);
Tailwind
colors: {
  custom: {
    50: '#8b82dd',
    500: '#4a52cd',
    950: '#000000',
  },
}
SCSS
$custom: #4a52cd;
$custom-light: #8b82dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52cd",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 236.336,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50584,
    "c": 0.18728,
    "h": 274.7
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#4A52CD
secondary
#D5D29E
accent
#D748E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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