#4D45CA#4D45CA

#4D45CA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.198 H 278.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4D45CA
RGBrgb(77, 69, 202)
HSLhsl(244, 56%, 53%)
HSVhsv(244, 66%, 79%)
CMYKcmyk(61.9%, 65.8%, 0%, 20.8%)
CIE-LABlab(38.02, 42.36, -68.04)
CIE-LCHlch(38.02, 80.15, 301.91°)
OKLaboklab(48.34% 0.0298 -0.1961)
OKLCHoklch(48.34% 0.198 278.6)
XYZxyz(15.8459, 10.0971, 56.9796)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45CA #C2CA45
analogous
#457FCA #4D45CA #8F45CA
triadic
#4D45CA #CA4D45 #45CA4D
tetradic
#4D45CA #CA457F #C2CA45 #45CA8F
square
#4D45CA #CA457F #C2CA45 #45CA8F
split-complementary
#4D45CA #CA8F45 #7FCA45
monochromatic
#262174 #362FA3 #4D45CA #7B75D8 #A8A4E5

Accessibility & contrast

On white

6.95
#4D45CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4D45CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45CA
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45CA#FFFFFF#000000##FFFFFF
##4D45CA1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0054C7
Tritanopia (blue-blind)
#006781
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4d45ca;
/* rgb */ color: rgb(77, 69, 202);
/* oklch */ color: oklch(48.3% 0.198 278.6);
Tailwind
colors: {
  custom: {
    50: '#8c79db',
    500: '#4d45ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d45ca;
$custom-light: #8c79db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45ca",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 243.609,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.19832,
    "h": 278.6
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#4D45CA
secondary
#CFD299
accent
#DF49D6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D45CA

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

Preview Lab → · Contrast checker → · Palette generator →

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