#4E78CB#4E78CB

#4E78CB is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.2% C 0.136 H 262.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4E78CB
RGBrgb(78, 120, 203)
HSLhsl(220, 55%, 55%)
HSVhsv(220, 62%, 80%)
CMYKcmyk(61.6%, 40.9%, 0%, 20.4%)
CIE-LABlab(51.11, 11.24, -47.48)
CIE-LCHlch(51.11, 48.79, 283.32°)
OKLaboklab(58.22% -0.0174 -0.1351)
OKLCHoklch(58.22% 0.136 262.7)
XYZxyz(20.6341, 19.3626, 59.1383)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78CB #CBA14E
analogous
#4EB6CB #4E78CB #624ECB
triadic
#4E78CB #CB4E78 #78CB4E
tetradic
#4E78CB #CB4EB6 #CBA14E #4ECB62
square
#4E78CB #CB4EB6 #CBA14E #4ECB62
split-complementary
#4E78CB #CB624E #B6CB4E
monochromatic
#24417B #325AAA #4E78CB #7D9CD9 #ADC0E7

Accessibility & contrast

On white

4.31
#4E78CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4E78CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78CB#FFFFFF#000000##000000
##4E78CB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e78cb;
/* rgb */ color: rgb(78, 120, 203);
/* oklch */ color: oklch(58.2% 0.136 262.7);
Tailwind
colors: {
  custom: {
    50: '#8a9edb',
    500: '#4e78cb',
    950: '#000000',
  },
}
SCSS
$custom: #4e78cb;
$custom-light: #8a9edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78cb",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 219.84,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58216,
    "c": 0.13622,
    "h": 262.7
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#4E78CB
secondary
#D5C3A0
accent
#AC4ADE
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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