#4D7ABB#4D7ABB

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

Color values

HEX#4D7ABB
RGBrgb(77, 122, 187)
HSLhsl(215, 45%, 52%)
HSVhsv(215, 59%, 73%)
CMYKcmyk(58.8%, 34.8%, 0%, 26.7%)
CIE-LABlab(50.78, 4.42, -38.83)
CIE-LCHlch(50.78, 39.08, 276.50°)
OKLaboklab(57.68% -0.0242 -0.1098)
OKLCHoklch(57.68% 0.112 257.6)
XYZxyz(18.9866, 19.0831, 49.6869)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7ABB #BB8E4D
analogous
#4DB1BB #4D7ABB #574DBB
triadic
#4D7ABB #BB4D7A #7ABB4D
tetradic
#4D7ABB #BB4DB1 #BB8E4D #4DBB57
square
#4D7ABB #BB4DB1 #BB8E4D #4DBB57
split-complementary
#4D7ABB #BB574D #B1BB4D
monochromatic
#274166 #385D93 #4D7ABB #799BCC #A6BCDD

Accessibility & contrast

On white

4.36
#4D7ABB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4D7ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7ABB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7ABB#FFFFFF#000000##000000
##4D7ABB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#5174BA
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d7abb;
/* rgb */ color: rgb(77, 122, 187);
/* oklch */ color: oklch(57.7% 0.112 257.6);
Tailwind
colors: {
  custom: {
    50: '#87a0d0',
    500: '#4d7abb',
    950: '#000000',
  },
}
SCSS
$custom: #4d7abb;
$custom-light: #87a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7abb",
  "rgb": {
    "r": 77,
    "g": 122,
    "b": 187
  },
  "hsl": {
    "h": 215.455,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57677,
    "c": 0.11245,
    "h": 257.6
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#4D7ABB
secondary
#CAB69A
accent
#A053D4
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D7ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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