#4A52D4#4A52D4

#4A52D4 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.196 H 274.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4A52D4
RGBrgb(74, 82, 212)
HSLhsl(237, 62%, 56%)
HSVhsv(237, 65%, 83%)
CMYKcmyk(65.1%, 61.3%, 0%, 16.9%)
CIE-LABlab(41.60, 37.37, -67.97)
CIE-LCHlch(41.60, 77.56, 298.80°)
OKLaboklab(51.16% 0.015 -0.1959)
OKLCHoklch(51.16% 0.196 274.4)
XYZxyz(17.7211, 12.2423, 63.7037)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52D4 #D4CC4A
analogous
#4A97D4 #4A52D4 #874AD4
triadic
#4A52D4 #D44A52 #52D44A
tetradic
#4A52D4 #D44A97 #D4CC4A #4AD487
square
#4A52D4 #D44A97 #D4CC4A #4AD487
split-complementary
#4A52D4 #D4874A #97D44A
monochromatic
#1F2584 #2B33B6 #4A52D4 #7B81E0 #ADB1EB

Accessibility & contrast

On white

6.09
#4A52D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4A52D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52D4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52D4#FFFFFF#000000##FFFFFF
##4A52D41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#005CD1
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4a52d4;
/* rgb */ color: rgb(74, 82, 212);
/* oklch */ color: oklch(51.2% 0.196 274.4);
Tailwind
colors: {
  custom: {
    50: '#8c82e2',
    500: '#4a52d4',
    950: '#000000',
  },
}
SCSS
$custom: #4a52d4;
$custom-light: #8c82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52d4",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 236.522,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51159,
    "c": 0.19646,
    "h": 274.4
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#4A52D4
secondary
#D9D6A0
accent
#DB43E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4A52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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