#4D52AA#4D52AA

#4D52AA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.138 H 277.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4D52AA
RGBrgb(77, 82, 170)
HSLhsl(237, 38%, 48%)
HSVhsv(237, 55%, 67%)
CMYKcmyk(54.7%, 51.8%, 0%, 33.3%)
CIE-LABlab(38.75, 23.80, -48.06)
CIE-LCHlch(38.75, 53.63, 296.34°)
OKLaboklab(48.13% 0.0178 -0.1373)
OKLCHoklch(48.13% 0.138 277.4)
XYZxyz(13.3313, 10.5138, 39.3493)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D52AA #AAA54D
analogous
#4D80AA #4D52AA #764DAA
triadic
#4D52AA #AA4D52 #52AA4D
tetradic
#4D52AA #AA4D80 #AAA54D #4DAA76
square
#4D52AA #AA4D80 #AAA54D #4DAA76
split-complementary
#4D52AA #AA764D #80AA4D
monochromatic
#272956 #3A3E80 #4D52AA #7478C0 #9EA1D3

Accessibility & contrast

On white

6.77
#4D52AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4D52AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D52AA
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D52AA#FFFFFF#000000##FFFFFF
##4D52AA1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#1658A8
Tritanopia (blue-blind)
#216676
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4d52aa;
/* rgb */ color: rgb(77, 82, 170);
/* oklch */ color: oklch(48.1% 0.138 277.4);
Tailwind
colors: {
  custom: {
    50: '#8682c4',
    500: '#4d52aa',
    950: '#000000',
  },
}
SCSS
$custom: #4d52aa;
$custom-light: #8682c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d52aa",
  "rgb": {
    "r": 77,
    "g": 82,
    "b": 170
  },
  "hsl": {
    "h": 236.774,
    "s": 37.652,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48128,
    "c": 0.13843,
    "h": 277.4
  },
  "luminance": 0.10515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D52AA

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

Preview Lab → · Contrast checker → · Palette generator →

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