#4D45CE#4D45CE

#4D45CE is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.7% C 0.203 H 278.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4D45CE
RGBrgb(77, 69, 206)
HSLhsl(244, 58%, 54%)
HSVhsv(244, 67%, 81%)
CMYKcmyk(62.6%, 66.5%, 0%, 19.2%)
CIE-LABlab(38.36, 43.64, -69.80)
CIE-LCHlch(38.36, 82.32, 302.02°)
OKLaboklab(48.69% 0.0293 -0.2012)
OKLCHoklch(48.69% 0.203 278.3)
XYZxyz(16.3257, 10.2890, 59.5062)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45CE #C6CE45
analogous
#4582CE #4D45CE #9245CE
triadic
#4D45CE #CE4D45 #45CE4D
tetradic
#4D45CE #CE4582 #C6CE45 #45CE92
square
#4D45CE #CE4582 #C6CE45 #45CE92
split-complementary
#4D45CE #CE9245 #82CE45
monochromatic
#252079 #342DA9 #4D45CE #7B75DB #AAA6E8

Accessibility & contrast

On white

6.87
#4D45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4D45CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45CE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45CE#FFFFFF#000000##FFFFFF
##4D45CE1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0055CB
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d45ce;
/* rgb */ color: rgb(77, 69, 206);
/* oklch */ color: oklch(48.7% 0.203 278.3);
Tailwind
colors: {
  custom: {
    50: '#8d7ade',
    500: '#4d45ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d45ce;
$custom-light: #8d7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45ce",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 243.504,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48692,
    "c": 0.20336,
    "h": 278.3
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#4D45CE
secondary
#D1D59A
accent
#E246D8
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4D45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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