#4D49BE#4D49BE

#4D49BE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.0% C 0.178 H 278.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4D49BE
RGBrgb(77, 73, 190)
HSLhsl(242, 47%, 52%)
HSVhsv(242, 62%, 75%)
CMYKcmyk(59.5%, 61.6%, 0%, 25.5%)
CIE-LABlab(37.95, 36.06, -61.15)
CIE-LCHlch(37.95, 70.99, 300.53°)
OKLaboklab(47.99% 0.0273 -0.1758)
OKLCHoklch(47.99% 0.178 278.8)
XYZxyz(14.7344, 10.0595, 49.8704)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D49BE #BABE49
analogous
#4980BE #4D49BE #8849BE
triadic
#4D49BE #BE4D49 #49BE4D
tetradic
#4D49BE #BE4980 #BABE49 #49BE88
square
#4D49BE #BE4980 #BABE49 #49BE88
split-complementary
#4D49BE #BE8849 #80BE49
monochromatic
#272568 #383595 #4D49BE #7976CE #A5A3DE

Accessibility & contrast

On white

6.97
#4D49BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4D49BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D49BE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D49BE#FFFFFF#000000##FFFFFF
##4D49BE1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d49be;
/* rgb */ color: rgb(77, 73, 190);
/* oklch */ color: oklch(48.0% 0.178 278.8);
Tailwind
colors: {
  custom: {
    50: '#8a7cd2',
    500: '#4d49be',
    950: '#000000',
  },
}
SCSS
$custom: #4d49be;
$custom-light: #8a7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d49be",
  "rgb": {
    "r": 77,
    "g": 73,
    "b": 190
  },
  "hsl": {
    "h": 242.051,
    "s": 47.368,
    "l": 51.569
  },
  "oklch": {
    "l": 0.47989,
    "c": 0.17795,
    "h": 278.8
  },
  "luminance": 0.10061
}

Semantic roles & 50–950 ramp

primary
#4D49BE
secondary
#C9CB98
accent
#D751D2
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D49BE

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

Preview Lab → · Contrast checker → · Palette generator →

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