#4D78D3#4D78D3

#4D78D3 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.7% C 0.148 H 263.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4D78D3
RGBrgb(77, 120, 211)
HSLhsl(221, 60%, 56%)
HSVhsv(221, 64%, 83%)
CMYKcmyk(63.5%, 43.1%, 0%, 17.3%)
CIE-LABlab(51.51, 13.81, -51.39)
CIE-LCHlch(51.51, 53.21, 285.04°)
OKLaboklab(58.66% -0.0167 -0.1466)
OKLCHoklch(58.66% 0.148 263.5)
XYZxyz(21.5308, 19.7119, 64.2855)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78D3 #D3A84D
analogous
#4DBBD3 #4D78D3 #654DD3
triadic
#4D78D3 #D34D78 #78D34D
tetradic
#4D78D3 #D34DBB #D3A84D #4DD365
square
#4D78D3 #D34DBB #D3A84D #4DD365
split-complementary
#4D78D3 #D3654D #BBD34D
monochromatic
#214185 #2D59B6 #4D78D3 #7E9DDF #AFC2EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D78D3#FFFFFF#000000##000000
##4D78D31.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)
#4E81D6
Deuteranopia (green-blind)
#3975D1
Tritanopia (blue-blind)
#008D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d78d3;
/* rgb */ color: rgb(77, 120, 211);
/* oklch */ color: oklch(58.7% 0.148 263.5);
Tailwind
colors: {
  custom: {
    50: '#8b9ee1',
    500: '#4d78d3',
    950: '#000000',
  },
}
SCSS
$custom: #4d78d3;
$custom-light: #8b9ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78d3",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 211
  },
  "hsl": {
    "h": 220.746,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.14755,
    "h": 263.5
  },
  "luminance": 0.19714
}

Semantic roles & 50–950 ramp

primary
#4D78D3
secondary
#D9C8A2
accent
#B044E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D78D3

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

Preview Lab → · Contrast checker → · Palette generator →

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