#4D61D7#4D61D7

#4D61D7 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.3% C 0.181 H 271.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4D61D7
RGBrgb(77, 97, 215)
HSLhsl(231, 63%, 57%)
HSVhsv(231, 64%, 84%)
CMYKcmyk(64.2%, 54.9%, 0%, 15.7%)
CIE-LABlab(45.68, 29.53, -63.05)
CIE-LCHlch(45.68, 69.62, 295.10°)
OKLaboklab(54.31% 0.0055 -0.1812)
OKLCHoklch(54.31% 0.181 271.7)
XYZxyz(19.5969, 15.0317, 66.1455)
Luminance0.1503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D61D7 #D7C34D
analogous
#4DA6D7 #4D61D7 #7E4DD7
triadic
#4D61D7 #D74D61 #61D74D
tetradic
#4D61D7 #D74DA6 #D7C34D #4DD77E
square
#4D61D7 #D74DA6 #D7C34D #4DD77E
split-complementary
#4D61D7 #D77E4D #A6D74D
monochromatic
#1F2F8A #2A40BC #4D61D7 #7F8DE2 #B1BAED

Accessibility & contrast

On white

5.24
#4D61D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#4D61D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D61D7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D61D7#FFFFFF#000000##FFFFFF
##4D61D71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DB
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#007D92
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d61d7;
/* rgb */ color: rgb(77, 97, 215);
/* oklch */ color: oklch(54.3% 0.181 271.7);
Tailwind
colors: {
  custom: {
    50: '#8d8de4',
    500: '#4d61d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d61d7;
$custom-light: #8d8de4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d61d7",
  "rgb": {
    "r": 77,
    "g": 97,
    "b": 215
  },
  "hsl": {
    "h": 231.304,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54306,
    "c": 0.18127,
    "h": 271.7
  },
  "luminance": 0.15033
}

Semantic roles & 50–950 ramp

primary
#4D61D7
secondary
#DCD4A4
accent
#CE41E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D61D7

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

Preview Lab → · Contrast checker → · Palette generator →

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