#4C78EF#4C78EF

#4C78EF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.186 H 265.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4C78EF
RGBrgb(76, 120, 239)
HSLhsl(224, 84%, 62%)
HSVhsv(224, 68%, 94%)
CMYKcmyk(68.2%, 49.8%, 0%, 6.3%)
CIE-LABlab(53.17, 23.38, -64.47)
CIE-LCHlch(53.17, 68.58, 289.94°)
OKLaboklab(60.46% -0.0136 -0.1851)
OKLCHoklch(60.46% 0.186 265.8)
XYZxyz(25.2715, 21.1989, 84.4046)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C78EF #EFC34C
analogous
#4CC9EF #4C78EF #724CEF
triadic
#4C78EF #EF4C78 #78EF4C
tetradic
#4C78EF #EF4CC9 #EFC34C #4CEF72
square
#4C78EF #EF4CC9 #EFC34C #4CEF72
split-complementary
#4C78EF #EF724C #C9EF4C
monochromatic
#103BB1 #154EE9 #4C78EF #84A2F4 #BCCDF9

Accessibility & contrast

On white

4.01
#4C78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4C78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C78EF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C78EF#FFFFFF#000000##000000
##4C78EF1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3287F3
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0094A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4c78ef;
/* rgb */ color: rgb(76, 120, 239);
/* oklch */ color: oklch(60.5% 0.186 265.8);
Tailwind
colors: {
  custom: {
    50: '#909ef5',
    500: '#4c78ef',
    950: '#000000',
  },
}
SCSS
$custom: #4c78ef;
$custom-light: #909ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c78ef",
  "rgb": {
    "r": 76,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 223.804,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6046,
    "c": 0.18559,
    "h": 265.8
  },
  "luminance": 0.21201
}

Semantic roles & 50–950 ramp

primary
#4C78EF
secondary
#EAD9AD
accent
#A505E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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