#4D5195#4D5195

#4D5195 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.5% C 0.109 H 278.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4D5195
RGBrgb(77, 81, 149)
HSLhsl(237, 32%, 44%)
HSVhsv(237, 48%, 58%)
CMYKcmyk(48.3%, 45.6%, 0%, 41.6%)
CIE-LABlab(37.17, 17.57, -38.01)
CIE-LCHlch(37.17, 41.87, 294.81°)
OKLaboklab(46.52% 0.0165 -0.1077)
OKLCHoklch(46.52% 0.109 278.7)
XYZxyz(11.4262, 9.6320, 29.6850)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5195 #95914D
analogous
#4D7595 #4D5195 #6D4D95
triadic
#4D5195 #954D51 #51954D
tetradic
#4D5195 #954D75 #95914D #4D956D
square
#4D5195 #954D75 #95914D #4D956D
split-complementary
#4D5195 #956D4D #75954D
monochromatic
#232544 #383B6D #4D5195 #6C70B3 #9497C8

Accessibility & contrast

On white

7.18
#4D5195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4D5195 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5195
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5195#FFFFFF#000000##FFFFFF
##4D51951.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A98
Deuteranopia (green-blind)
#305593
Tritanopia (blue-blind)
#335F6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d5195;
/* rgb */ color: rgb(77, 81, 149);
/* oklch */ color: oklch(46.5% 0.109 278.7);
Tailwind
colors: {
  custom: {
    50: '#8381b4',
    500: '#4d5195',
    950: '#000000',
  },
}
SCSS
$custom: #4d5195;
$custom-light: #8381b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5195",
  "rgb": {
    "r": 77,
    "g": 81,
    "b": 149
  },
  "hsl": {
    "h": 236.667,
    "s": 31.858,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.10901,
    "h": 278.7
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#4D5195
secondary
#B4B289
accent
#C260C8
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4D5195

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

Preview Lab → · Contrast checker → · Palette generator →

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