#4A78EF#4A78EF

#4A78EF is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.4% C 0.186 H 265.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4A78EF
RGBrgb(74, 120, 239)
HSLhsl(223, 84%, 61%)
HSVhsv(223, 69%, 94%)
CMYKcmyk(69%, 49.8%, 0%, 6.3%)
CIE-LABlab(53.08, 23.10, -64.62)
CIE-LCHlch(53.08, 68.62, 289.67°)
OKLaboklab(60.37% -0.0153 -0.1856)
OKLCHoklch(60.37% 0.186 265.3)
XYZxyz(25.1150, 21.1182, 84.3973)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78EF #EFC14A
analogous
#4ACAEF #4A78EF #6F4AEF
triadic
#4A78EF #EF4A78 #78EF4A
tetradic
#4A78EF #EF4ACA #EFC14A #4AEF6F
square
#4A78EF #EF4ACA #EFC14A #4AEF6F
split-complementary
#4A78EF #EF6F4A #CAEF4A
monochromatic
#0F3CAF #144FE7 #4A78EF #82A2F4 #BACCF9

Accessibility & contrast

On white

4.02
#4A78EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4A78EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78EF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78EF#FFFFFF#000000##000000
##4A78EF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a78ef;
/* rgb */ color: rgb(74, 120, 239);
/* oklch */ color: oklch(60.4% 0.186 265.3);
Tailwind
colors: {
  custom: {
    50: '#8f9ef5',
    500: '#4a78ef',
    950: '#000000',
  },
}
SCSS
$custom: #4a78ef;
$custom-light: #8f9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78ef",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 223.273,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60369,
    "c": 0.18619,
    "h": 265.3
  },
  "luminance": 0.21121
}

Semantic roles & 50–950 ramp

primary
#4A78EF
secondary
#E9D8AC
accent
#A305E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4A78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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