#4D78CB#4D78CB

#4D78CB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.2% C 0.137 H 262.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4D78CB
RGBrgb(77, 120, 203)
HSLhsl(220, 55%, 55%)
HSVhsv(220, 62%, 80%)
CMYKcmyk(62.1%, 40.9%, 0%, 20.4%)
CIE-LABlab(51.06, 11.06, -47.55)
CIE-LCHlch(51.06, 48.82, 283.09°)
OKLaboklab(58.17% -0.0183 -0.1354)
OKLCHoklch(58.17% 0.137 262.3)
XYZxyz(20.5528, 19.3207, 59.1345)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78CB #CBA04D
analogous
#4DB7CB #4D78CB #614DCB
triadic
#4D78CB #CB4D78 #78CB4D
tetradic
#4D78CB #CB4DB7 #CBA04D #4DCB61
square
#4D78CB #CB4DB7 #CBA04D #4DCB61
split-complementary
#4D78CB #CB614D #B7CB4D
monochromatic
#24417A #315AA9 #4D78CB #7C9CD9 #ACC0E7

Accessibility & contrast

On white

4.32
#4D78CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4D78CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78CB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78CB#FFFFFF#000000##000000
##4D78CB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d78cb;
/* rgb */ color: rgb(77, 120, 203);
/* oklch */ color: oklch(58.2% 0.137 262.3);
Tailwind
colors: {
  custom: {
    50: '#8a9edb',
    500: '#4d78cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d78cb;
$custom-light: #8a9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78cb",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 219.524,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58165,
    "c": 0.13659,
    "h": 262.3
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#4D78CB
secondary
#D4C29F
accent
#AB4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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