#4D5796#4D5796

#4D5796 is a mid, moderate blue. Relative luminance 0.106; OKLCH L 47.8% C 0.102 H 275.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4D5796
RGBrgb(77, 87, 150)
HSLhsl(232, 32%, 45%)
HSVhsv(232, 49%, 59%)
CMYKcmyk(48.7%, 42%, 0%, 41.2%)
CIE-LABlab(38.89, 14.04, -35.88)
CIE-LCHlch(38.89, 38.53, 291.37°)
OKLaboklab(47.84% 0.009 -0.1015)
OKLCHoklch(47.84% 0.102 275.1)
XYZxyz(11.9721, 10.5955, 30.2625)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5796 #968C4D
analogous
#4D7C96 #4D5796 #684D96
triadic
#4D5796 #964D57 #57964D
tetradic
#4D5796 #964D7C #968C4D #4D9668
square
#4D5796 #964D7C #968C4D #4D9668
split-complementary
#4D5796 #96684D #7C964D
monochromatic
#232845 #38406E #4D5796 #6C76B4 #959CC9

Accessibility & contrast

On white

6.73
#4D5796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4D5796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5796
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5796#FFFFFF#000000##FFFFFF
##4D57961.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5F98
Deuteranopia (green-blind)
#385995
Tritanopia (blue-blind)
#32646F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4d5796;
/* rgb */ color: rgb(77, 87, 150);
/* oklch */ color: oklch(47.8% 0.102 275.1);
Tailwind
colors: {
  custom: {
    50: '#8386b5',
    500: '#4d5796',
    950: '#000000',
  },
}
SCSS
$custom: #4d5796;
$custom-light: #8386b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5796",
  "rgb": {
    "r": 77,
    "g": 87,
    "b": 150
  },
  "hsl": {
    "h": 231.781,
    "s": 32.159,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47844,
    "c": 0.10189,
    "h": 275.1
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#4D5796
secondary
#B5AF8A
accent
#BA5FC8
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0B11
muted
#7C7C80

Preview Lab

Preview with #4D5796

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

Preview Lab → · Contrast checker → · Palette generator →

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