#4A78DF#4A78DF

#4A78DF is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.3% C 0.165 H 264.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4A78DF
RGBrgb(74, 120, 223)
HSLhsl(221, 70%, 58%)
HSVhsv(221, 67%, 87%)
CMYKcmyk(66.8%, 46.2%, 0%, 12.5%)
CIE-LABlab(52.08, 17.48, -57.26)
CIE-LCHlch(52.08, 59.87, 286.97°)
OKLaboklab(59.29% -0.0173 -0.1639)
OKLCHoklch(59.29% 0.165 264)
XYZxyz(22.8551, 20.2143, 72.4950)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78DF #DFB14A
analogous
#4AC2DF #4A78DF #674ADF
triadic
#4A78DF #DF4A78 #78DF4A
tetradic
#4A78DF #DF4AC2 #DFB14A #4ADF67
square
#4A78DF #DF4AC2 #DFB14A #4ADF67
split-complementary
#4A78DF #DF674A #C2DF4A
monochromatic
#1A4094 #2356C8 #4A78DF #7E9FE8 #B2C6F1

Accessibility & contrast

On white

4.16
#4A78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4A78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78DF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78DF#FFFFFF#000000##000000
##4A78DF1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#2576DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a78df;
/* rgb */ color: rgb(74, 120, 223);
/* oklch */ color: oklch(59.3% 0.165 264.0);
Tailwind
colors: {
  custom: {
    50: '#8c9ee9',
    500: '#4a78df',
    950: '#000000',
  },
}
SCSS
$custom: #4a78df;
$custom-light: #8c9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78df",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 221.477,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.16484,
    "h": 264
  },
  "luminance": 0.20217
}

Semantic roles & 50–950 ramp

primary
#4A78DF
secondary
#E0CEA5
accent
#B63BED
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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