#4D5FC9#4D5FC9

#4D5FC9 is a mid, vivid blue. Relative luminance 0.140; OKLCH L 52.9% C 0.165 H 272.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4D5FC9
RGBrgb(77, 95, 201)
HSLhsl(231, 53%, 55%)
HSVhsv(231, 62%, 79%)
CMYKcmyk(61.7%, 52.7%, 0%, 21.2%)
CIE-LABlab(44.20, 26.00, -57.41)
CIE-LCHlch(44.20, 63.02, 294.36°)
OKLaboklab(52.89% 0.0066 -0.1646)
OKLCHoklch(52.89% 0.165 272.3)
XYZxyz(17.6919, 13.9778, 57.0127)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FC9 #C9B74D
analogous
#4D9DC9 #4D5FC9 #794DC9
triadic
#4D5FC9 #C94D5F #5FC94D
tetradic
#4D5FC9 #C94D9D #C9B74D #4DC979
square
#4D5FC9 #C94D9D #C9B74D #4DC979
split-complementary
#4D5FC9 #C9794D #9DC94D
monochromatic
#243077 #3243A6 #4D5FC9 #7C89D7 #ABB3E5

Accessibility & contrast

On white

5.53
#4D5FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4D5FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FC9
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FC9#FFFFFF#000000##FFFFFF
##4D5FC91.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6ECD
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d5fc9;
/* rgb */ color: rgb(77, 95, 201);
/* oklch */ color: oklch(52.9% 0.165 272.3);
Tailwind
colors: {
  custom: {
    50: '#8a8cda',
    500: '#4d5fc9',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fc9;
$custom-light: #8a8cda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fc9",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 201
  },
  "hsl": {
    "h": 231.29,
    "s": 53.448,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52891,
    "c": 0.16475,
    "h": 272.3
  },
  "luminance": 0.13979
}

Semantic roles & 50–950 ramp

primary
#4D5FC9
secondary
#D3CC9F
accent
#C84BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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