#4D5CA2#4D5CA2

#4D5CA2 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.6% C 0.113 H 272.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4D5CA2
RGBrgb(77, 92, 162)
HSLhsl(229, 36%, 47%)
HSVhsv(229, 52%, 64%)
CMYKcmyk(52.5%, 43.2%, 0%, 36.5%)
CIE-LABlab(40.96, 14.76, -39.77)
CIE-LCHlch(40.96, 42.42, 290.36°)
OKLaboklab(49.65% 0.005 -0.1128)
OKLCHoklch(49.65% 0.113 272.6)
XYZxyz(13.4072, 11.8398, 35.7542)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5CA2 #A2934D
analogous
#4D87A2 #4D5CA2 #694DA2
triadic
#4D5CA2 #A24D5C #5CA24D
tetradic
#4D5CA2 #A24D87 #A2934D #4DA269
square
#4D5CA2 #A24D87 #A2934D #4DA269
split-complementary
#4D5CA2 #A2694D #87A24D
monochromatic
#262D4F #394479 #4D5CA2 #717EBB #9AA4CF

Accessibility & contrast

On white

6.23
#4D5CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4D5CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5CA2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5CA2#FFFFFF#000000##FFFFFF
##4D5CA21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F64A5
Deuteranopia (green-blind)
#365DA0
Tritanopia (blue-blind)
#276B77
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4d5ca2;
/* rgb */ color: rgb(77, 92, 162);
/* oklch */ color: oklch(49.6% 0.113 272.6);
Tailwind
colors: {
  custom: {
    50: '#8589be',
    500: '#4d5ca2',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ca2;
$custom-light: #8589be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ca2",
  "rgb": {
    "r": 77,
    "g": 92,
    "b": 162
  },
  "hsl": {
    "h": 229.412,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49648,
    "c": 0.11295,
    "h": 272.6
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#4D5CA2
secondary
#BCB48F
accent
#B85CCC
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #4D5CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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