#4D45CB#4D45CB

#4D45CB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.4% C 0.200 H 278.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4D45CB
RGBrgb(77, 69, 203)
HSLhsl(244, 56%, 53%)
HSVhsv(244, 66%, 80%)
CMYKcmyk(62.1%, 66%, 0%, 20.4%)
CIE-LABlab(38.10, 42.68, -68.48)
CIE-LCHlch(38.10, 80.69, 301.93°)
OKLaboklab(48.43% 0.0297 -0.1974)
OKLCHoklch(48.43% 0.2 278.5)
XYZxyz(15.9647, 10.1446, 57.6051)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45CB #C3CB45
analogous
#4580CB #4D45CB #9045CB
triadic
#4D45CB #CB4D45 #45CB4D
tetradic
#4D45CB #CB4580 #C3CB45 #45CB90
square
#4D45CB #CB4580 #C3CB45 #45CB90
split-complementary
#4D45CB #CB9045 #80CB45
monochromatic
#262175 #352EA5 #4D45CB #7B75D8 #A9A5E6

Accessibility & contrast

On white

6.93
#4D45CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4D45CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45CB
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45CB#FFFFFF#000000##FFFFFF
##4D45CB1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0054C8
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d45cb;
/* rgb */ color: rgb(77, 69, 203);
/* oklch */ color: oklch(48.4% 0.200 278.5);
Tailwind
colors: {
  custom: {
    50: '#8d7adc',
    500: '#4d45cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d45cb;
$custom-light: #8d7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45cb",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 243.582,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48428,
    "c": 0.19959,
    "h": 278.5
  },
  "luminance": 0.10146
}

Semantic roles & 50–950 ramp

primary
#4D45CB
secondary
#CFD399
accent
#E048D7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4D45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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