#4D45AF#4D45AF

#4D45AF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.163 H 281.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4D45AF
RGBrgb(77, 69, 175)
HSLhsl(245, 43%, 48%)
HSVhsv(245, 61%, 69%)
CMYKcmyk(56%, 60.6%, 0%, 31.4%)
CIE-LABlab(35.85, 33.64, -55.72)
CIE-LCHlch(35.85, 65.09, 301.12°)
OKLaboklab(46.08% 0.0319 -0.1599)
OKLCHoklch(46.08% 0.163 281.3)
XYZxyz(12.9241, 8.9284, 41.5914)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45AF #A7AF45
analogous
#4572AF #4D45AF #8245AF
triadic
#4D45AF #AF4D45 #45AF4D
tetradic
#4D45AF #AF4572 #A7AF45 #45AF82
square
#4D45AF #AF4572 #A7AF45 #45AF82
split-complementary
#4D45AF #AF8245 #72AF45
monochromatic
#262257 #3A3483 #4D45AF #736CC5 #9D98D6

Accessibility & contrast

On white

7.54
#4D45AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4D45AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D45AF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45AF#FFFFFF#000000##FFFFFF
##4D45AF1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#1D5E73
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d45af;
/* rgb */ color: rgb(77, 69, 175);
/* oklch */ color: oklch(46.1% 0.163 281.3);
Tailwind
colors: {
  custom: {
    50: '#8879c8',
    500: '#4d45af',
    950: '#000000',
  },
}
SCSS
$custom: #4d45af;
$custom-light: #8879c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45af",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 244.528,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.16305,
    "h": 281.3
  },
  "luminance": 0.08929
}

Semantic roles & 50–950 ramp

primary
#4D45AF
secondary
#BEC28D
accent
#D355CA
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4D45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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