#4D61D8#4D61D8

#4D61D8 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.4% C 0.183 H 271.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#4D61D8
RGBrgb(77, 97, 216)
HSLhsl(231, 64%, 57%)
HSVhsv(231, 64%, 85%)
CMYKcmyk(64.4%, 55.1%, 0%, 15.3%)
CIE-LABlab(45.75, 29.87, -63.50)
CIE-LCHlch(45.75, 70.18, 295.19°)
OKLaboklab(54.38% 0.0056 -0.1825)
OKLCHoklch(54.38% 0.183 271.7)
XYZxyz(19.7258, 15.0833, 66.8243)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D61D8 #D8C44D
analogous
#4DA6D8 #4D61D8 #7F4DD8
triadic
#4D61D8 #D84D61 #61D84D
tetradic
#4D61D8 #D84DA6 #D8C44D #4DD87F
square
#4D61D8 #D84DA6 #D8C44D #4DD87F
split-complementary
#4D61D8 #D87F4D #A6D84D
monochromatic
#1F2E8C #2A3FBE #4D61D8 #7F8EE3 #B1BAEE

Accessibility & contrast

On white

5.23
#4D61D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#4D61D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D61D8
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D61D8#FFFFFF#000000##FFFFFF
##4D61D81.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4d61d8;
/* rgb */ color: rgb(77, 97, 216);
/* oklch */ color: oklch(54.4% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#8d8de5',
    500: '#4d61d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d61d8;
$custom-light: #8d8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d61d8",
  "rgb": {
    "r": 77,
    "g": 97,
    "b": 216
  },
  "hsl": {
    "h": 231.367,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54381,
    "c": 0.18261,
    "h": 271.7
  },
  "luminance": 0.15085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D61D8

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

Preview Lab → · Contrast checker → · Palette generator →

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