#4A52CA#4A52CA

#4A52CA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.183 H 274.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#4A52CA
RGBrgb(74, 82, 202)
HSLhsl(236, 55%, 54%)
HSVhsv(236, 63%, 79%)
CMYKcmyk(63.4%, 59.4%, 0%, 20.8%)
CIE-LABlab(40.82, 34.00, -63.47)
CIE-LCHlch(40.82, 72.00, 298.17°)
OKLaboklab(50.34% 0.0153 -0.1827)
OKLCHoklch(50.34% 0.183 274.8)
XYZxyz(16.4985, 11.7533, 57.2648)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52CA #CAC24A
analogous
#4A92CA #4A52CA #824ACA
triadic
#4A52CA #CA4A52 #52CA4A
tetradic
#4A52CA #CA4A92 #CAC24A #4ACA82
square
#4A52CA #CA4A92 #CAC24A #4ACA82
split-complementary
#4A52CA #CA824A #92CA4A
monochromatic
#232877 #3138A6 #4A52CA #797FD8 #A9ACE6

Accessibility & contrast

On white

6.27
#4A52CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4A52CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52CA
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52CA#FFFFFF#000000##FFFFFF
##4A52CA1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a52ca;
/* rgb */ color: rgb(74, 82, 202);
/* oklch */ color: oklch(50.3% 0.183 274.8);
Tailwind
colors: {
  custom: {
    50: '#8a82db',
    500: '#4a52ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a52ca;
$custom-light: #8a82db;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52ca",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 236.25,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50342,
    "c": 0.18331,
    "h": 274.8
  },
  "luminance": 0.11755
}

Semantic roles & 50–950 ramp

primary
#4A52CA
secondary
#D3D09D
accent
#D54ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A52CA

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

Preview Lab → · Contrast checker → · Palette generator →

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