#4F78DF#4F78DF

#4F78DF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.5% C 0.163 H 265.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4F78DF
RGBrgb(79, 120, 223)
HSLhsl(223, 69%, 59%)
HSVhsv(223, 65%, 87%)
CMYKcmyk(64.6%, 46.2%, 0%, 12.5%)
CIE-LABlab(52.31, 18.29, -56.88)
CIE-LCHlch(52.31, 59.75, 287.83°)
OKLaboklab(59.52% -0.013 -0.1627)
OKLCHoklch(59.52% 0.163 265.4)
XYZxyz(23.2556, 20.4207, 72.5138)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F78DF #DFB64F
analogous
#4FC0DF #4F78DF #6E4FDF
triadic
#4F78DF #DF4F78 #78DF4F
tetradic
#4F78DF #DF4FC0 #DFB64F #4FDF6E
square
#4F78DF #DF4FC0 #DFB64F #4FDF6E
split-complementary
#4F78DF #DF6E4F #C0DF4F
monochromatic
#1C3F98 #2555CC #4F78DF #83A0E8 #B7C7F2

Accessibility & contrast

On white

4.13
#4F78DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4F78DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F78DF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F78DF#FFFFFF#000000##000000
##4F78DF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#2977DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4f78df;
/* rgb */ color: rgb(79, 120, 223);
/* oklch */ color: oklch(59.5% 0.163 265.4);
Tailwind
colors: {
  custom: {
    50: '#8e9ee9',
    500: '#4f78df',
    950: '#000000',
  },
}
SCSS
$custom: #4f78df;
$custom-light: #8e9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f78df",
  "rgb": {
    "r": 79,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 222.917,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59525,
    "c": 0.16323,
    "h": 265.4
  },
  "luminance": 0.20423
}

Semantic roles & 50–950 ramp

primary
#4F78DF
secondary
#E1D1A9
accent
#BA3CEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4F78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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