#4F78DC#4F78DC

#4F78DC is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.3% C 0.159 H 265.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4F78DC
RGBrgb(79, 120, 220)
HSLhsl(223, 67%, 59%)
HSVhsv(223, 64%, 86%)
CMYKcmyk(64.1%, 45.5%, 0%, 13.7%)
CIE-LABlab(52.13, 17.25, -55.48)
CIE-LCHlch(52.13, 58.10, 287.28°)
OKLaboklab(59.33% -0.0135 -0.1586)
OKLCHoklch(59.33% 0.159 265.1)
XYZxyz(22.8547, 20.2604, 70.4025)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78DC #DCB34F
analogous
#4FBEDC #4F78DC #6C4FDC
triadic
#4F78DC #DC4F78 #78DC4F
tetradic
#4F78DC #DC4FBE #DCB34F #4FDC6C
square
#4F78DC #DC4FBE #DCB34F #4FDC6C
split-complementary
#4F78DC #DC6C4F #BEDC4F
monochromatic
#1D4093 #2756C6 #4F78DC #829FE6 #B5C6F0

Accessibility & contrast

On white

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

On black

5.05
#4F78DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78DC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78DC#FFFFFF#000000##000000
##4F78DC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f78dc;
/* rgb */ color: rgb(79, 120, 220);
/* oklch */ color: oklch(59.3% 0.159 265.1);
Tailwind
colors: {
  custom: {
    50: '#8e9ee7',
    500: '#4f78dc',
    950: '#000000',
  },
}
SCSS
$custom: #4f78dc;
$custom-light: #8e9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78dc",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 222.553,
    "s": 66.825,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5933,
    "c": 0.15915,
    "h": 265.1
  },
  "luminance": 0.20263
}

Semantic roles & 50–950 ramp

primary
#4F78DC
secondary
#DFCFA8
accent
#B83EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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