#4D4BEC#4D4BEC

#4D4BEC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.234 H 275.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#4D4BEC
RGBrgb(77, 75, 236)
HSLhsl(241, 81%, 61%)
HSVhsv(241, 68%, 93%)
CMYKcmyk(67.4%, 68.2%, 0%, 7.5%)
CIE-LABlab(42.25, 49.79, -80.55)
CIE-LCHlch(42.25, 94.70, 301.72°)
OKLaboklab(52.31% 0.0213 -0.2327)
OKLCHoklch(52.31% 0.234 275.2)
XYZxyz(20.7120, 12.6642, 80.6935)
Luminance0.1267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4BEC #EAEC4B
analogous
#4B99EC #4D4BEC #9D4BEC
triadic
#4D4BEC #EC4D4B #4BEC4D
tetradic
#4D4BEC #EC4B99 #EAEC4B #4BEC9D
square
#4D4BEC #EC4B99 #EAEC4B #4BEC9D
split-complementary
#4D4BEC #EC9D4B #99EC4B
monochromatic
#1412AB #1A18E2 #4D4BEC #8482F2 #BABAF8

Accessibility & contrast

On white

5.94
#4D4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4D4BEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4BEC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4BEC#FFFFFF#000000##FFFFFF
##4D4BEC1.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF1
Deuteranopia (green-blind)
#005CE9
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d4bec;
/* rgb */ color: rgb(77, 75, 236);
/* oklch */ color: oklch(52.3% 0.234 275.2);
Tailwind
colors: {
  custom: {
    50: '#927ef3',
    500: '#4d4bec',
    950: '#000000',
  },
}
SCSS
$custom: #4d4bec;
$custom-light: #927ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4bec",
  "rgb": {
    "r": 77,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 240.745,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52306,
    "c": 0.23368,
    "h": 275.2
  },
  "luminance": 0.12666
}

Semantic roles & 50–950 ramp

primary
#4D4BEC
secondary
#E7E8AB
accent
#DD08DB
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0A17
muted
#7E7C85

Preview Lab

Preview with #4D4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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