#4D78CD#4D78CD

#4D78CD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.139 H 262.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4D78CD
RGBrgb(77, 120, 205)
HSLhsl(220, 56%, 55%)
HSVhsv(220, 62%, 80%)
CMYKcmyk(62.4%, 41.5%, 0%, 19.6%)
CIE-LABlab(51.17, 11.74, -48.52)
CIE-LCHlch(51.17, 49.92, 283.61°)
OKLaboklab(58.29% -0.0179 -0.1382)
OKLCHoklch(58.29% 0.139 262.6)
XYZxyz(20.7926, 19.4166, 60.3978)
Luminance0.1942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D78CD #CDA24D
analogous
#4DB8CD #4D78CD #624DCD
triadic
#4D78CD #CD4D78 #78CD4D
tetradic
#4D78CD #CD4DB8 #CDA24D #4DCD62
square
#4D78CD #CD4DB8 #CDA24D #4DCD62
split-complementary
#4D78CD #CD624D #B8CD4D
monochromatic
#23417D #305AAC #4D78CD #7D9CDA #ADC0E8

Accessibility & contrast

On white

4.30
#4D78CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#4D78CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D78CD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D78CD#FFFFFF#000000##000000
##4D78CD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#008B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4d78cd;
/* rgb */ color: rgb(77, 120, 205);
/* oklch */ color: oklch(58.3% 0.139 262.6);
Tailwind
colors: {
  custom: {
    50: '#8a9edd',
    500: '#4d78cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d78cd;
$custom-light: #8a9edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d78cd",
  "rgb": {
    "r": 77,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 219.844,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.13933,
    "h": 262.6
  },
  "luminance": 0.19419
}

Semantic roles & 50–950 ramp

primary
#4D78CD
secondary
#D6C4A0
accent
#AD48DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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