#4E78BF#4E78BF

#4E78BF is a mid, moderate blue. Relative luminance 0.188; OKLCH L 57.5% C 0.120 H 260.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4E78BF
RGBrgb(78, 120, 191)
HSLhsl(218, 47%, 53%)
HSVhsv(218, 59%, 75%)
CMYKcmyk(59.2%, 37.2%, 0%, 25.1%)
CIE-LABlab(50.47, 7.18, -41.63)
CIE-LCHlch(50.47, 42.24, 279.79°)
OKLaboklab(57.51% -0.0201 -0.118)
OKLCHoklch(57.51% 0.12 260.3)
XYZxyz(19.2591, 18.8126, 51.8964)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E78BF #BF954E
analogous
#4EB1BF #4E78BF #5C4EBF
triadic
#4E78BF #BF4E78 #78BF4E
tetradic
#4E78BF #BF4EB1 #BF954E #4EBF5C
square
#4E78BF #BF4EB1 #BF954E #4EBF5C
split-complementary
#4E78BF #BF5C4E #B1BF4E
monochromatic
#27406C #375B99 #4E78BF #7B9ACF #A8BDE0

Accessibility & contrast

On white

4.41
#4E78BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4E78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E78BF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E78BF#FFFFFF#000000##000000
##4E78BF1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC2
Deuteranopia (green-blind)
#4B73BE
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e78bf;
/* rgb */ color: rgb(78, 120, 191);
/* oklch */ color: oklch(57.5% 0.120 260.3);
Tailwind
colors: {
  custom: {
    50: '#899ed2',
    500: '#4e78bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e78bf;
$custom-light: #899ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e78bf",
  "rgb": {
    "r": 78,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 217.699,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.5751,
    "c": 0.11968,
    "h": 260.3
  },
  "luminance": 0.18814
}

Semantic roles & 50–950 ramp

primary
#4E78BF
secondary
#CDBB9C
accent
#A551D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4E78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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