#4778DF#4778DF

#4778DF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.166 H 263.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4778DF
RGBrgb(71, 120, 223)
HSLhsl(221, 70%, 58%)
HSVhsv(221, 68%, 87%)
CMYKcmyk(68.2%, 46.2%, 0%, 12.5%)
CIE-LABlab(51.95, 17.02, -57.48)
CIE-LCHlch(51.95, 59.95, 286.49°)
OKLaboklab(59.15% -0.0198 -0.1646)
OKLCHoklch(59.15% 0.166 263.1)
XYZxyz(22.6296, 20.0980, 72.4844)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4778DF #DFAE47
analogous
#47C4DF #4778DF #6247DF
triadic
#4778DF #DF4778 #78DF47
tetradic
#4778DF #DF47C4 #DFAE47 #47DF62
square
#4778DF #DF47C4 #DFAE47 #47DF62
split-complementary
#4778DF #DF6247 #C4DF47
monochromatic
#194092 #2257C6 #4778DF #7B9EE8 #AFC4F1

Accessibility & contrast

On white

4.18
#4778DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4778DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4778DF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4778DF#FFFFFF#000000##000000
##4778DF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E3
Deuteranopia (green-blind)
#2375DD
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4778df;
/* rgb */ color: rgb(71, 120, 223);
/* oklch */ color: oklch(59.1% 0.166 263.1);
Tailwind
colors: {
  custom: {
    50: '#8b9ee9',
    500: '#4778df',
    950: '#000000',
  },
}
SCSS
$custom: #4778df;
$custom-light: #8b9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4778df",
  "rgb": {
    "r": 71,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 220.658,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59149,
    "c": 0.16581,
    "h": 263.1
  },
  "luminance": 0.201
}

Semantic roles & 50–950 ramp

primary
#4778DF
secondary
#DFCCA2
accent
#B43BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4778DF

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

Preview Lab → · Contrast checker → · Palette generator →

#4778DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva