#4D45DB#4D45DB

#4D45DB is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.9% C 0.219 H 277.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#4D45DB
RGBrgb(77, 69, 219)
HSLhsl(243, 68%, 56%)
HSVhsv(243, 68%, 86%)
CMYKcmyk(64.8%, 68.5%, 0%, 14.1%)
CIE-LABlab(39.49, 47.79, -75.42)
CIE-LCHlch(39.49, 89.29, 302.36°)
OKLaboklab(49.86% 0.0276 -0.2177)
OKLCHoklch(49.86% 0.219 277.2)
XYZxyz(17.9707, 10.9470, 68.1701)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D45DB #D3DB45
analogous
#4588DB #4D45DB #9845DB
triadic
#4D45DB #DB4D45 #45DB4D
tetradic
#4D45DB #DB4588 #D3DB45 #45DB98
square
#4D45DB #DB4588 #D3DB45 #45DB98
split-complementary
#4D45DB #DB9845 #88DB45
monochromatic
#211B8B #2D25BE #4D45DB #7E78E5 #AFACEF

Accessibility & contrast

On white

6.58
#4D45DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4D45DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D45DB
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D45DB#FFFFFF#000000##FFFFFF
##4D45DB1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E0
Deuteranopia (green-blind)
#0057D8
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4d45db;
/* rgb */ color: rgb(77, 69, 219);
/* oklch */ color: oklch(49.9% 0.219 277.2);
Tailwind
colors: {
  custom: {
    50: '#907ae7',
    500: '#4d45db',
    950: '#000000',
  },
}
SCSS
$custom: #4d45db;
$custom-light: #907ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d45db",
  "rgb": {
    "r": 77,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 243.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.49858,
    "c": 0.21944,
    "h": 277.2
  },
  "luminance": 0.10948
}

Semantic roles & 50–950 ramp

primary
#4D45DB
secondary
#D9DD9F
accent
#EA3DE1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4D45DB

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

Preview Lab → · Contrast checker → · Palette generator →

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