#4D45BE#4D45BE

#4D45BE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.183 H 279.7°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4D45BE
RGBrgb(77, 69, 190)
HSLhsl(244, 48%, 51%)
HSVhsv(244, 64%, 75%)
CMYKcmyk(59.5%, 63.7%, 0%, 25.5%)
CIE-LABlab(37.02, 38.49, -62.66)
CIE-LCHlch(37.02, 73.54, 301.56°)
OKLaboklab(47.31% 0.031 -0.1803)
OKLCHoklch(47.31% 0.183 279.7)
XYZxyz(14.4800, 9.5507, 49.7856)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45BE #B6BE45
analogous
#4579BE #4D45BE #8945BE
triadic
#4D45BE #BE4D45 #45BE4D
tetradic
#4D45BE #BE4579 #B6BE45 #45BE89
square
#4D45BE #BE4579 #B6BE45 #45BE89
split-complementary
#4D45BE #BE8945 #79BE45
monochromatic
#282365 #3A3393 #4D45BE #7872CE #A4A0DE

Accessibility & contrast

On white

7.22
#4D45BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4D45BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D45BE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45BE#FFFFFF#000000##FFFFFF
##4D45BE1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d45be;
/* rgb */ color: rgb(77, 69, 190);
/* oklch */ color: oklch(47.3% 0.183 279.7);
Tailwind
colors: {
  custom: {
    50: '#8a79d3',
    500: '#4d45be',
    950: '#000000',
  },
}
SCSS
$custom: #4d45be;
$custom-light: #8a79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45be",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 243.967,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47312,
    "c": 0.18293,
    "h": 279.7
  },
  "luminance": 0.09552
}

Semantic roles & 50–950 ramp

primary
#4D45BE
secondary
#C7CA95
accent
#D850CF
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4D45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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