#4D7ABE#4D7ABE

#4D7ABE is a mid, moderate blue. Relative luminance 0.192; OKLCH L 57.8% C 0.117 H 258.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4D7ABE
RGBrgb(77, 122, 190)
HSLhsl(216, 47%, 52%)
HSVhsv(216, 59%, 75%)
CMYKcmyk(59.5%, 35.8%, 0%, 25.5%)
CIE-LABlab(50.94, 5.43, -40.32)
CIE-LCHlch(50.94, 40.68, 277.67°)
OKLaboklab(57.84% -0.0234 -0.1141)
OKLCHoklch(57.84% 0.117 258.4)
XYZxyz(19.3111, 19.2129, 51.3960)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ABE #BE914D
analogous
#4DB3BE #4D7ABE #584DBE
triadic
#4D7ABE #BE4D7A #7ABE4D
tetradic
#4D7ABE #BE4DB3 #BE914D #4DBE58
square
#4D7ABE #BE4DB3 #BE914D #4DBE58
split-complementary
#4D7ABE #BE584D #B3BE4D
monochromatic
#27416A #375D97 #4D7ABE #7A9BCE #A7BDDF

Accessibility & contrast

On white

4.34
#4D7ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4D7ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ABE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ABE#FFFFFF#000000##000000
##4D7ABE1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC1
Deuteranopia (green-blind)
#4F74BD
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d7abe;
/* rgb */ color: rgb(77, 122, 190);
/* oklch */ color: oklch(57.8% 0.117 258.4);
Tailwind
colors: {
  custom: {
    50: '#88a0d2',
    500: '#4d7abe',
    950: '#000000',
  },
}
SCSS
$custom: #4d7abe;
$custom-light: #88a0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7abe",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 190
  },
  "hsl": {
    "h": 216.106,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57844,
    "c": 0.11652,
    "h": 258.4
  },
  "luminance": 0.19215
}

Semantic roles & 50–950 ramp

primary
#4D7ABE
secondary
#CCB89B
accent
#A152D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D7ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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