#4D48BE#4D48BE

#4D48BE is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.179 H 279.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4D48BE
RGBrgb(77, 72, 190)
HSLhsl(243, 48%, 51%)
HSVhsv(243, 62%, 75%)
CMYKcmyk(59.5%, 62.1%, 0%, 25.5%)
CIE-LABlab(37.72, 36.67, -61.53)
CIE-LCHlch(37.72, 71.63, 300.79°)
OKLaboklab(47.82% 0.0282 -0.177)
OKLCHoklch(47.82% 0.179 279.1)
XYZxyz(14.6692, 9.9292, 49.8487)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D48BE #B9BE48
analogous
#487EBE #4D48BE #8848BE
triadic
#4D48BE #BE4D48 #48BE4D
tetradic
#4D48BE #BE487E #B9BE48 #48BE88
square
#4D48BE #BE487E #B9BE48 #48BE88
split-complementary
#4D48BE #BE8848 #7EBE48
monochromatic
#272567 #393594 #4D48BE #7975CE #A5A2DE

Accessibility & contrast

On white

7.03
#4D48BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4D48BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D48BE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D48BE#FFFFFF#000000##FFFFFF
##4D48BE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d48be;
/* rgb */ color: rgb(77, 72, 190);
/* oklch */ color: oklch(47.8% 0.179 279.1);
Tailwind
colors: {
  custom: {
    50: '#8a7bd2',
    500: '#4d48be',
    950: '#000000',
  },
}
SCSS
$custom: #4d48be;
$custom-light: #8a7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d48be",
  "rgb": {
    "r": 77,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 242.542,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47817,
    "c": 0.1792,
    "h": 279.1
  },
  "luminance": 0.0993
}

Semantic roles & 50–950 ramp

primary
#4D48BE
secondary
#C9CB97
accent
#D751D1
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D48BE

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

Preview Lab → · Contrast checker → · Palette generator →

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