#4D78BE#4D78BE

#4D78BE is a mid, moderate blue. Relative luminance 0.187; OKLCH L 57.4% C 0.119 H 259.7°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4D78BE
RGBrgb(77, 120, 190)
HSLhsl(217, 47%, 52%)
HSVhsv(217, 59%, 75%)
CMYKcmyk(59.5%, 36.8%, 0%, 25.5%)
CIE-LABlab(50.37, 6.64, -41.22)
CIE-LCHlch(50.37, 41.75, 279.15°)
OKLaboklab(57.4% -0.0212 -0.1168)
OKLCHoklch(57.4% 0.119 259.7)
XYZxyz(19.0681, 18.7268, 51.3150)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78BE #BE934D
analogous
#4DB1BE #4D78BE #5A4DBE
triadic
#4D78BE #BE4D78 #78BE4D
tetradic
#4D78BE #BE4DB1 #BE934D #4DBE5A
square
#4D78BE #BE4DB1 #BE934D #4DBE5A
split-complementary
#4D78BE #BE5A4D #B1BE4D
monochromatic
#27406A #375B97 #4D78BE #7A9ACE #A7BCDF

Accessibility & contrast

On white

4.43
#4D78BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4D78BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78BE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78BE#FFFFFF#000000##000000
##4D78BE1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7EC1
Deuteranopia (green-blind)
#4C73BD
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d78be;
/* rgb */ color: rgb(77, 120, 190);
/* oklch */ color: oklch(57.4% 0.119 259.7);
Tailwind
colors: {
  custom: {
    50: '#889ed2',
    500: '#4d78be',
    950: '#000000',
  },
}
SCSS
$custom: #4d78be;
$custom-light: #889ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78be",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 217.168,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57401,
    "c": 0.11871,
    "h": 259.7
  },
  "luminance": 0.18728
}

Semantic roles & 50–950 ramp

primary
#4D78BE
secondary
#CCB99B
accent
#A452D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4D78BE

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

Preview Lab → · Contrast checker → · Palette generator →

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