#4D59A4#4D59A4

#4D59A4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.120 H 274.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4D59A4
RGBrgb(77, 89, 164)
HSLhsl(232, 36%, 47%)
HSVhsv(232, 53%, 64%)
CMYKcmyk(53%, 45.7%, 0%, 35.7%)
CIE-LABlab(40.25, 17.33, -42.10)
CIE-LCHlch(40.25, 45.52, 292.38°)
OKLaboklab(49.14% 0.009 -0.1197)
OKLCHoklch(49.14% 0.12 274.3)
XYZxyz(13.3316, 11.4020, 36.6131)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59A4 #A4984D
analogous
#4D85A4 #4D59A4 #6C4DA4
triadic
#4D59A4 #A44D59 #59A44D
tetradic
#4D59A4 #A44D85 #A4984D #4DA46C
square
#4D59A4 #A44D85 #A4984D #4DA46C
split-complementary
#4D59A4 #A46C4D #85A44D
monochromatic
#262C51 #39427A #4D59A4 #727CBD #9BA3D0

Accessibility & contrast

On white

6.40
#4D59A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4D59A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59A4
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59A4#FFFFFF#000000##FFFFFF
##4D59A41.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A7
Deuteranopia (green-blind)
#2F5BA2
Tritanopia (blue-blind)
#266976
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d59a4;
/* rgb */ color: rgb(77, 89, 164);
/* oklch */ color: oklch(49.1% 0.120 274.3);
Tailwind
colors: {
  custom: {
    50: '#8587bf',
    500: '#4d59a4',
    950: '#000000',
  },
}
SCSS
$custom: #4d59a4;
$custom-light: #8587bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59a4",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 164
  },
  "hsl": {
    "h": 231.724,
    "s": 36.1,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.12002,
    "h": 274.3
  },
  "luminance": 0.11403
}

Semantic roles & 50–950 ramp

primary
#4D59A4
secondary
#BDB790
accent
#BD5CCC
background
#F8F8FB
surface
#F0EFF7
border
#CBCAD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4D59A4

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

Preview Lab → · Contrast checker → · Palette generator →

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