#4D5FC2#4D5FC2

#4D5FC2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.4% C 0.155 H 272.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4D5FC2
RGBrgb(77, 95, 194)
HSLhsl(231, 49%, 53%)
HSVhsv(231, 60%, 76%)
CMYKcmyk(60.3%, 51%, 0%, 23.9%)
CIE-LABlab(43.74, 23.61, -54.11)
CIE-LCHlch(43.74, 59.04, 293.57°)
OKLaboklab(52.39% 0.006 -0.1549)
OKLCHoklch(52.39% 0.155 272.2)
XYZxyz(16.8872, 13.6559, 52.7744)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FC2 #C2B04D
analogous
#4D99C2 #4D5FC2 #754DC2
triadic
#4D5FC2 #C24D5F #5FC24D
tetradic
#4D5FC2 #C24D99 #C2B04D #4DC275
square
#4D5FC2 #C24D99 #C2B04D #4DC275
split-complementary
#4D5FC2 #C2754D #99C24D
monochromatic
#26316F #36459C #4D5FC2 #7B88D2 #A8B1E1

Accessibility & contrast

On white

5.63
#4D5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4D5FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FC2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FC2#FFFFFF#000000##FFFFFF
##4D5FC21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#0962C0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d5fc2;
/* rgb */ color: rgb(77, 95, 194);
/* oklch */ color: oklch(52.4% 0.155 272.2);
Tailwind
colors: {
  custom: {
    50: '#898cd5',
    500: '#4d5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fc2;
$custom-light: #898cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fc2",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 230.769,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52391,
    "c": 0.15505,
    "h": 272.2
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#4D5FC2
secondary
#CFC79C
accent
#C34FD9
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4D5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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