#4D45B2#4D45B2

#4D45B2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.3% C 0.167 H 281.0°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#4D45B2
RGBrgb(77, 69, 178)
HSLhsl(244, 44%, 48%)
HSVhsv(244, 61%, 70%)
CMYKcmyk(56.7%, 61.2%, 0%, 30.2%)
CIE-LABlab(36.08, 34.61, -57.13)
CIE-LCHlch(36.08, 66.80, 301.21°)
OKLaboklab(46.32% 0.0317 -0.164)
OKLCHoklch(46.32% 0.167 281)
XYZxyz(13.2221, 9.0475, 43.1605)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45B2 #AAB245
analogous
#4573B2 #4D45B2 #8345B2
triadic
#4D45B2 #B24D45 #45B24D
tetradic
#4D45B2 #B24573 #AAB245 #45B283
square
#4D45B2 #B24573 #AAB245 #45B283
split-complementary
#4D45B2 #B28345 #73B245
monochromatic
#27235A #3A3486 #4D45B2 #746EC7 #9E9AD8

Accessibility & contrast

On white

7.47
#4D45B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4D45B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D45B2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45B2#FFFFFF#000000##FFFFFF
##4D45B21.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#185F75
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4d45b2;
/* rgb */ color: rgb(77, 69, 178);
/* oklch */ color: oklch(46.3% 0.167 281.0);
Tailwind
colors: {
  custom: {
    50: '#8879ca',
    500: '#4d45b2',
    950: '#000000',
  },
}
SCSS
$custom: #4d45b2;
$custom-light: #8879ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45b2",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 244.404,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46322,
    "c": 0.16708,
    "h": 281
  },
  "luminance": 0.09048
}

Semantic roles & 50–950 ramp

primary
#4D45B2
secondary
#C0C48F
accent
#D454CA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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