#4D5CD9#4D5CD9

#4D5CD9 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.190 H 273.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4D5CD9
RGBrgb(77, 92, 217)
HSLhsl(234, 65%, 58%)
HSVhsv(234, 65%, 85%)
CMYKcmyk(64.5%, 57.6%, 0%, 14.9%)
CIE-LABlab(44.58, 33.33, -65.97)
CIE-LCHlch(44.58, 73.92, 296.80°)
OKLaboklab(53.53% 0.0099 -0.1899)
OKLCHoklch(53.53% 0.19 273)
XYZxyz(19.4079, 14.2401, 67.3580)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CD9 #D9CA4D
analogous
#4DA2D9 #4D5CD9 #844DD9
triadic
#4D5CD9 #D94D5C #5CD94D
tetradic
#4D5CD9 #D94DA2 #D9CA4D #4DD984
square
#4D5CD9 #D94DA2 #D9CA4D #4DD984
split-complementary
#4D5CD9 #D9844D #A2D94D
monochromatic
#1E2A8D #2939C0 #4D5CD9 #7F8AE4 #B2B8EF

Accessibility & contrast

On white

5.46
#4D5CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4D5CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CD9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CD9#FFFFFF#000000##FFFFFF
##4D5CD91.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#0063D7
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d5cd9;
/* rgb */ color: rgb(77, 92, 217);
/* oklch */ color: oklch(53.5% 0.190 273.0);
Tailwind
colors: {
  custom: {
    50: '#8e8ae6',
    500: '#4d5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #4d5cd9;
$custom-light: #8e8ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5cd9",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 233.571,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53529,
    "c": 0.19012,
    "h": 273
  },
  "luminance": 0.14242
}

Semantic roles & 50–950 ramp

primary
#4D5CD9
secondary
#DDD7A5
accent
#D640E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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