#4D78BC#4D78BC

#4D78BC is a mid, moderate blue. Relative luminance 0.186; OKLCH L 57.3% C 0.116 H 259.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4D78BC
RGBrgb(77, 120, 188)
HSLhsl(217, 45%, 52%)
HSVhsv(217, 59%, 74%)
CMYKcmyk(59%, 36.2%, 0%, 26.3%)
CIE-LABlab(50.26, 5.97, -40.23)
CIE-LCHlch(50.26, 40.67, 278.44°)
OKLaboklab(57.29% -0.0217 -0.1139)
OKLCHoklch(57.29% 0.116 259.2)
XYZxyz(18.8510, 18.6399, 50.1717)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78BC #BC914D
analogous
#4DAFBC #4D78BC #5A4DBC
triadic
#4D78BC #BC4D78 #78BC4D
tetradic
#4D78BC #BC4DAF #BC914D #4DBC5A
square
#4D78BC #BC4DAF #BC914D #4DBC5A
split-complementary
#4D78BC #BC5A4D #AFBC4D
monochromatic
#274068 #385C94 #4D78BC #799ACD #A6BBDD

Accessibility & contrast

On white

4.44
#4D78BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4D78BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78BC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78BC#FFFFFF#000000##000000
##4D78BC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBF
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d78bc;
/* rgb */ color: rgb(77, 120, 188);
/* oklch */ color: oklch(57.3% 0.116 259.2);
Tailwind
colors: {
  custom: {
    50: '#889ed0',
    500: '#4d78bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d78bc;
$custom-light: #889ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78bc",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 188
  },
  "hsl": {
    "h": 216.757,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57288,
    "c": 0.11597,
    "h": 259.2
  },
  "luminance": 0.18642
}

Semantic roles & 50–950 ramp

primary
#4D78BC
secondary
#CBB89A
accent
#A353D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D78BC

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

Preview Lab → · Contrast checker → · Palette generator →

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