#4E78E1#4E78E1

#4E78E1 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.6% C 0.166 H 265.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E78E1
RGBrgb(78, 120, 225)
HSLhsl(223, 71%, 59%)
HSVhsv(223, 65%, 88%)
CMYKcmyk(65.3%, 46.7%, 0%, 11.8%)
CIE-LABlab(52.38, 18.82, -57.89)
CIE-LCHlch(52.38, 60.87, 288.01°)
OKLaboklab(59.61% -0.0136 -0.1657)
OKLCHoklch(59.61% 0.166 265.3)
XYZxyz(23.4442, 20.4867, 73.9384)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78E1 #E1B74E
analogous
#4EC2E1 #4E78E1 #6E4EE1
triadic
#4E78E1 #E14E78 #78E14E
tetradic
#4E78E1 #E14EC2 #E1B74E #4EE16E
square
#4E78E1 #E14EC2 #E1B74E #4EE16E
split-complementary
#4E78E1 #E16E4E #C2E14E
monochromatic
#1A3F9A #2354CF #4E78E1 #82A0EA #B7C8F3

Accessibility & contrast

On white

4.12
#4E78E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E78E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78E1
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78E1#FFFFFF#000000##000000
##4E78E11.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#2477DF
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e78e1;
/* rgb */ color: rgb(78, 120, 225);
/* oklch */ color: oklch(59.6% 0.166 265.3);
Tailwind
colors: {
  custom: {
    50: '#8e9eeb',
    500: '#4e78e1',
    950: '#000000',
  },
}
SCSS
$custom: #4e78e1;
$custom-light: #8e9eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78e1",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 225
  },
  "hsl": {
    "h": 222.857,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59607,
    "c": 0.16626,
    "h": 265.3
  },
  "luminance": 0.20489
}

Semantic roles & 50–950 ramp

primary
#4E78E1
secondary
#E2D2A9
accent
#BA3AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E78E1

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

Preview Lab → · Contrast checker → · Palette generator →

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