#4A78E6#4A78E6

#4A78E6 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.8% C 0.174 H 264.6°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4A78E6
RGBrgb(74, 120, 230)
HSLhsl(222, 76%, 60%)
HSVhsv(222, 68%, 90%)
CMYKcmyk(67.8%, 47.8%, 0%, 9.8%)
CIE-LABlab(52.51, 19.94, -60.51)
CIE-LCHlch(52.51, 63.70, 288.24°)
OKLaboklab(59.75% -0.0163 -0.1735)
OKLCHoklch(59.75% 0.174 264.6)
XYZxyz(23.8184, 20.5996, 77.5684)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78E6 #E6B84A
analogous
#4AC6E6 #4A78E6 #6A4AE6
triadic
#4A78E6 #E64A78 #78E64A
tetradic
#4A78E6 #E64AC6 #E6B84A #4AE66A
square
#4A78E6 #E64AC6 #E6B84A #4AE66A
split-complementary
#4A78E6 #E66A4A #C6E64A
monochromatic
#163FA0 #1D54D5 #4A78E6 #80A0ED #B6C8F5

Accessibility & contrast

On white

4.10
#4A78E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4A78E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78E6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78E6#FFFFFF#000000##000000
##4A78E61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D85EA
Deuteranopia (green-blind)
#1377E4
Tritanopia (blue-blind)
#0092A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4a78e6;
/* rgb */ color: rgb(74, 120, 230);
/* oklch */ color: oklch(59.8% 0.174 264.6);
Tailwind
colors: {
  custom: {
    50: '#8d9eef',
    500: '#4a78e6',
    950: '#000000',
  },
}
SCSS
$custom: #4a78e6;
$custom-light: #8d9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78e6",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 230
  },
  "hsl": {
    "h": 222.308,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59752,
    "c": 0.17423,
    "h": 264.6
  },
  "luminance": 0.20602
}

Semantic roles & 50–950 ramp

primary
#4A78E6
secondary
#E4D2A8
accent
#BB35F2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4A78E6

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

Preview Lab → · Contrast checker → · Palette generator →

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