#4D52AB#4D52AB

#4D52AB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.140 H 277.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#4D52AB
RGBrgb(77, 82, 171)
HSLhsl(237, 38%, 49%)
HSVhsv(237, 55%, 67%)
CMYKcmyk(55%, 52%, 0%, 32.9%)
CIE-LABlab(38.82, 24.13, -48.55)
CIE-LCHlch(38.82, 54.22, 296.43°)
OKLaboklab(48.2% 0.0179 -0.1387)
OKLCHoklch(48.2% 0.14 277.4)
XYZxyz(13.4262, 10.5518, 39.8494)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52AB #ABA64D
analogous
#4D81AB #4D52AB #774DAB
triadic
#4D52AB #AB4D52 #52AB4D
tetradic
#4D52AB #AB4D81 #ABA64D #4DAB77
square
#4D52AB #AB4D81 #ABA64D #4DAB77
split-complementary
#4D52AB #AB774D #81AB4D
monochromatic
#272A57 #3A3E81 #4D52AB #7579C1 #9FA2D4

Accessibility & contrast

On white

6.75
#4D52AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4D52AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52AB
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52AB#FFFFFF#000000##FFFFFF
##4D52AB1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAE
Deuteranopia (green-blind)
#1458A9
Tritanopia (blue-blind)
#1F6676
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d52ab;
/* rgb */ color: rgb(77, 82, 171);
/* oklch */ color: oklch(48.2% 0.140 277.4);
Tailwind
colors: {
  custom: {
    50: '#8682c5',
    500: '#4d52ab',
    950: '#000000',
  },
}
SCSS
$custom: #4d52ab;
$custom-light: #8682c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52ab",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 171
  },
  "hsl": {
    "h": 236.809,
    "s": 37.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.13986,
    "h": 277.4
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#4D52AB
secondary
#C0BE93
accent
#C85ACE
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4D52AB

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

Preview Lab → · Contrast checker → · Palette generator →

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