#4A52CB#4A52CB

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

Color values

HEX#4A52CB
RGBrgb(74, 82, 203)
HSLhsl(236, 55%, 54%)
HSVhsv(236, 64%, 80%)
CMYKcmyk(63.5%, 59.6%, 0%, 20.4%)
CIE-LABlab(40.90, 34.33, -63.92)
CIE-LCHlch(40.90, 72.56, 298.24°)
OKLaboklab(50.42% 0.0153 -0.184)
OKLCHoklch(50.42% 0.185 274.8)
XYZxyz(16.6173, 11.8008, 57.8904)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A52CB #CBC34A
analogous
#4A93CB #4A52CB #834ACB
triadic
#4A52CB #CB4A52 #52CB4A
tetradic
#4A52CB #CB4A93 #CBC34A #4ACB83
square
#4A52CB #CB4A93 #CBC34A #4ACB83
split-complementary
#4A52CB #CB834A #93CB4A
monochromatic
#232878 #3038A8 #4A52CB #7A7FD9 #A9ADE6

Accessibility & contrast

On white

6.25
#4A52CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4A52CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A52CB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A52CB#FFFFFF#000000##FFFFFF
##4A52CB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a52cb;
/* rgb */ color: rgb(74, 82, 203);
/* oklch */ color: oklch(50.4% 0.185 274.8);
Tailwind
colors: {
  custom: {
    50: '#8a82dc',
    500: '#4a52cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a52cb;
$custom-light: #8a82dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a52cb",
  "rgb": {
    "r": 74,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 236.279,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50423,
    "c": 0.18463,
    "h": 274.8
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#4A52CB
secondary
#D4D09D
accent
#D549DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A52CB

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

Preview Lab → · Contrast checker → · Palette generator →

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