#4F78DD#4F78DD

#4F78DD is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.4% C 0.161 H 265.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4F78DD
RGBrgb(79, 120, 221)
HSLhsl(223, 68%, 59%)
HSVhsv(223, 64%, 87%)
CMYKcmyk(64.3%, 45.7%, 0%, 13.3%)
CIE-LABlab(52.19, 17.60, -55.95)
CIE-LCHlch(52.19, 58.65, 287.46°)
OKLaboklab(59.4% -0.0133 -0.16)
OKLCHoklch(59.4% 0.161 265.2)
XYZxyz(22.9875, 20.3135, 71.1021)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78DD #DDB44F
analogous
#4FBFDD #4F78DD #6D4FDD
triadic
#4F78DD #DD4F78 #78DD4F
tetradic
#4F78DD #DD4FBF #DDB44F #4FDD6D
square
#4F78DD #DD4FBF #DDB44F #4FDD6D
split-complementary
#4F78DD #DD6D4F #BFDD4F
monochromatic
#1D3F95 #2755C8 #4F78DD #829FE7 #B6C7F1

Accessibility & contrast

On white

4.15
#4F78DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4F78DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78DD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78DD#FFFFFF#000000##000000
##4F78DD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#2C76DB
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4f78dd;
/* rgb */ color: rgb(79, 120, 221);
/* oklch */ color: oklch(59.4% 0.161 265.2);
Tailwind
colors: {
  custom: {
    50: '#8e9ee8',
    500: '#4f78dd',
    950: '#000000',
  },
}
SCSS
$custom: #4f78dd;
$custom-light: #8e9ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78dd",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 222.676,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59395,
    "c": 0.16051,
    "h": 265.2
  },
  "luminance": 0.20316
}

Semantic roles & 50–950 ramp

primary
#4F78DD
secondary
#E0D0A8
accent
#B83DEA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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