#4F78CA#4F78CA

#4F78CA is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.2% C 0.134 H 262.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4F78CA
RGBrgb(79, 120, 202)
HSLhsl(220, 54%, 55%)
HSVhsv(220, 61%, 79%)
CMYKcmyk(60.9%, 40.6%, 0%, 20.8%)
CIE-LABlab(51.10, 11.09, -46.91)
CIE-LCHlch(51.10, 48.20, 283.30°)
OKLaboklab(58.21% -0.0167 -0.1334)
OKLCHoklch(58.21% 0.134 262.9)
XYZxyz(20.5979, 19.3577, 58.5166)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78CA #CAA14F
analogous
#4FB6CA #4F78CA #634FCA
triadic
#4F78CA #CA4F78 #78CA4F
tetradic
#4F78CA #CA4FB6 #CAA14F #4FCA63
square
#4F78CA #CA4FB6 #CAA14F #4FCA63
split-complementary
#4F78CA #CA634F #B6CA4F
monochromatic
#25417A #335AA9 #4F78CA #7E9CD8 #ADC0E6

Accessibility & contrast

On white

4.31
#4F78CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4F78CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78CA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78CA#FFFFFF#000000##000000
##4F78CA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#4374C8
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4f78ca;
/* rgb */ color: rgb(79, 120, 202);
/* oklch */ color: oklch(58.2% 0.134 262.9);
Tailwind
colors: {
  custom: {
    50: '#8b9eda',
    500: '#4f78ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f78ca;
$custom-light: #8b9eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78ca",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 220,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.13447,
    "h": 262.9
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#4F78CA
secondary
#D4C3A1
accent
#AC4BDD
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4F78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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