#4E78D3#4E78D3

#4E78D3 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.147 H 263.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4E78D3
RGBrgb(78, 120, 211)
HSLhsl(221, 60%, 57%)
HSVhsv(221, 63%, 83%)
CMYKcmyk(63%, 43.1%, 0%, 17.3%)
CIE-LABlab(51.56, 13.98, -51.31)
CIE-LCHlch(51.56, 53.18, 285.24°)
OKLaboklab(58.71% -0.0159 -0.1463)
OKLCHoklch(58.71% 0.147 263.8)
XYZxyz(21.6121, 19.7538, 64.2893)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78D3 #D3A94E
analogous
#4EBAD3 #4E78D3 #674ED3
triadic
#4E78D3 #D34E78 #78D34E
tetradic
#4E78D3 #D34EBA #D3A94E #4ED367
square
#4E78D3 #D34EBA #D3A94E #4ED367
split-complementary
#4E78D3 #D3674E #BAD34E
monochromatic
#214185 #2D59B6 #4E78D3 #7F9DDF #B0C3EB

Accessibility & contrast

On white

4.24
#4E78D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4E78D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78D3
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78D3#FFFFFF#000000##000000
##4E78D31.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.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: #4e78d3;
/* rgb */ color: rgb(78, 120, 211);
/* oklch */ color: oklch(58.7% 0.147 263.8);
Tailwind
colors: {
  custom: {
    50: '#8c9ee1',
    500: '#4e78d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e78d3;
$custom-light: #8c9ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78d3",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 211
  },
  "hsl": {
    "h": 221.053,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.14721,
    "h": 263.8
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#4E78D3
secondary
#DAC8A3
accent
#B144E3
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E78D3

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

Preview Lab → · Contrast checker → · Palette generator →

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