#4D5EC3#4D5EC3

#4D5EC3 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.3% C 0.158 H 272.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4D5EC3
RGBrgb(77, 94, 195)
HSLhsl(231, 50%, 53%)
HSVhsv(231, 61%, 76%)
CMYKcmyk(60.5%, 51.8%, 0%, 23.5%)
CIE-LABlab(43.54, 24.58, -55.01)
CIE-LCHlch(43.54, 60.25, 294.08°)
OKLaboklab(52.26% 0.0071 -0.1576)
OKLCHoklch(52.26% 0.158 272.6)
XYZxyz(16.9103, 13.5220, 53.3380)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5EC3 #C3B24D
analogous
#4D99C3 #4D5EC3 #774DC3
triadic
#4D5EC3 #C34D5E #5EC34D
tetradic
#4D5EC3 #C34D99 #C3B24D #4DC377
square
#4D5EC3 #C34D99 #C3B24D #4DC377
split-complementary
#4D5EC3 #C3774D #99C34D
monochromatic
#263070 #35449E #4D5EC3 #7B87D2 #A9B1E2

Accessibility & contrast

On white

5.67
#4D5EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4D5EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5EC3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5EC3#FFFFFF#000000##FFFFFF
##4D5EC31.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246CC7
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#007587
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d5ec3;
/* rgb */ color: rgb(77, 94, 195);
/* oklch */ color: oklch(52.3% 0.158 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a8bd6',
    500: '#4d5ec3',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ec3;
$custom-light: #8a8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ec3",
  "rgb": {
    "r": 77,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 231.356,
    "s": 49.58,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52264,
    "c": 0.15773,
    "h": 272.6
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#4D5EC3
secondary
#CFC89D
accent
#C54FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4D5EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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