#4D7ABC#4D7ABC

#4D7ABC is a mid, moderate blue. Relative luminance 0.191; OKLCH L 57.7% C 0.114 H 257.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4D7ABC
RGBrgb(77, 122, 188)
HSLhsl(216, 45%, 52%)
HSVhsv(216, 59%, 74%)
CMYKcmyk(59%, 35.1%, 0%, 26.3%)
CIE-LABlab(50.83, 4.76, -39.33)
CIE-LCHlch(50.83, 39.61, 276.90°)
OKLaboklab(57.73% -0.0239 -0.1113)
OKLCHoklch(57.73% 0.114 257.9)
XYZxyz(19.0940, 19.1260, 50.2527)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ABC #BC8F4D
analogous
#4DB1BC #4D7ABC #584DBC
triadic
#4D7ABC #BC4D7A #7ABC4D
tetradic
#4D7ABC #BC4DB1 #BC8F4D #4DBC58
square
#4D7ABC #BC4DB1 #BC8F4D #4DBC58
split-complementary
#4D7ABC #BC584D #B1BC4D
monochromatic
#274168 #385D94 #4D7ABC #799BCD #A6BCDD

Accessibility & contrast

On white

4.35
#4D7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4D7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ABC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ABC#FFFFFF#000000##000000
##4D7ABC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FBF
Deuteranopia (green-blind)
#5074BB
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d7abc;
/* rgb */ color: rgb(77, 122, 188);
/* oklch */ color: oklch(57.7% 0.114 257.9);
Tailwind
colors: {
  custom: {
    50: '#88a0d0',
    500: '#4d7abc',
    950: '#000000',
  },
}
SCSS
$custom: #4d7abc;
$custom-light: #88a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7abc",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 215.676,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57732,
    "c": 0.11381,
    "h": 257.9
  },
  "luminance": 0.19128
}

Semantic roles & 50–950 ramp

primary
#4D7ABC
secondary
#CBB79A
accent
#A053D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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