#4A78DB#4A78DB

#4A78DB is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.159 H 263.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4A78DB
RGBrgb(74, 120, 219)
HSLhsl(221, 67%, 57%)
HSVhsv(221, 66%, 86%)
CMYKcmyk(66.2%, 45.2%, 0%, 14.1%)
CIE-LABlab(51.84, 16.08, -55.39)
CIE-LCHlch(51.84, 57.68, 286.19°)
OKLaboklab(59.02% -0.018 -0.1584)
OKLCHoklch(59.02% 0.159 263.5)
XYZxyz(22.3222, 20.0011, 69.6883)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A78DB #DBAD4A
analogous
#4AC0DB #4A78DB #654ADB
triadic
#4A78DB #DB4A78 #78DB4A
tetradic
#4A78DB #DB4AC0 #DBAD4A #4ADB65
square
#4A78DB #DB4AC0 #DBAD4A #4ADB65
split-complementary
#4A78DB #DB654A #C0DB4A
monochromatic
#1C408E #2658C1 #4A78DB #7D9EE5 #B0C4EF

Accessibility & contrast

On white

4.20
#4A78DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4A78DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A78DB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A78DB#FFFFFF#000000##000000
##4A78DB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783DF
Deuteranopia (green-blind)
#2C75D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4a78db;
/* rgb */ color: rgb(74, 120, 219);
/* oklch */ color: oklch(59.0% 0.159 263.5);
Tailwind
colors: {
  custom: {
    50: '#8b9ee7',
    500: '#4a78db',
    950: '#000000',
  },
}
SCSS
$custom: #4a78db;
$custom-light: #8b9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a78db",
  "rgb": {
    "r": 74,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 220.966,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59024,
    "c": 0.15944,
    "h": 263.5
  },
  "luminance": 0.20003
}

Semantic roles & 50–950 ramp

primary
#4A78DB
secondary
#DECBA3
accent
#B33EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4A78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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