#4D7CBE#4D7CBE

#4D7CBE is a mid, moderate blue. Relative luminance 0.197; OKLCH L 58.3% C 0.114 H 257.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4D7CBE
RGBrgb(77, 124, 190)
HSLhsl(215, 47%, 52%)
HSVhsv(215, 59%, 75%)
CMYKcmyk(59.5%, 34.7%, 0%, 25.5%)
CIE-LABlab(51.51, 4.22, -39.42)
CIE-LCHlch(51.51, 39.64, 276.11°)
OKLaboklab(58.29% -0.0256 -0.1115)
OKLCHoklch(58.29% 0.114 257.1)
XYZxyz(19.5592, 19.7091, 51.4787)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CBE #BE8F4D
analogous
#4DB5BE #4D7CBE #564DBE
triadic
#4D7CBE #BE4D7C #7CBE4D
tetradic
#4D7CBE #BE4DB5 #BE8F4D #4DBE56
square
#4D7CBE #BE4DB5 #BE8F4D #4DBE56
split-complementary
#4D7CBE #BE564D #B5BE4D
monochromatic
#27436A #375F97 #4D7CBE #7A9DCE #A7BEDF

Accessibility & contrast

On white

4.25
#4D7CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4D7CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CBE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CBE#FFFFFF#000000##000000
##4D7CBE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C1
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d7cbe;
/* rgb */ color: rgb(77, 124, 190);
/* oklch */ color: oklch(58.3% 0.114 257.1);
Tailwind
colors: {
  custom: {
    50: '#88a1d2',
    500: '#4d7cbe',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cbe;
$custom-light: #88a1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cbe",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 190
  },
  "hsl": {
    "h": 215.044,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.11441,
    "h": 257.1
  },
  "luminance": 0.19711
}

Semantic roles & 50–950 ramp

primary
#4D7CBE
secondary
#CCB89B
accent
#9F52D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D7CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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