#4D45CD#4D45CD

#4D45CD is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.6% C 0.202 H 278.4°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4D45CD
RGBrgb(77, 69, 205)
HSLhsl(244, 58%, 54%)
HSVhsv(244, 66%, 80%)
CMYKcmyk(62.4%, 66.3%, 0%, 19.6%)
CIE-LABlab(38.27, 43.32, -69.36)
CIE-LCHlch(38.27, 81.78, 301.99°)
OKLaboklab(48.6% 0.0294 -0.1999)
OKLCHoklch(48.6% 0.202 278.4)
XYZxyz(16.2046, 10.2405, 58.8685)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45CD #C5CD45
analogous
#4581CD #4D45CD #9145CD
triadic
#4D45CD #CD4D45 #45CD4D
tetradic
#4D45CD #CD4581 #C5CD45 #45CD91
square
#4D45CD #CD4581 #C5CD45 #45CD91
split-complementary
#4D45CD #CD9145 #81CD45
monochromatic
#252077 #342DA8 #4D45CD #7B75DA #A9A5E7

Accessibility & contrast

On white

6.89
#4D45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4D45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45CD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45CD#FFFFFF#000000##FFFFFF
##4D45CD1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d45cd;
/* rgb */ color: rgb(77, 69, 205);
/* oklch */ color: oklch(48.6% 0.202 278.4);
Tailwind
colors: {
  custom: {
    50: '#8d7add',
    500: '#4d45cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d45cd;
$custom-light: #8d7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45cd",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 243.529,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48604,
    "c": 0.2021,
    "h": 278.4
  },
  "luminance": 0.10242
}

Semantic roles & 50–950 ramp

primary
#4D45CD
secondary
#D1D49A
accent
#E147D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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