#4778CB#4778CB

#4778CB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.139 H 260.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4778CB
RGBrgb(71, 120, 203)
HSLhsl(218, 56%, 54%)
HSVhsv(218, 65%, 80%)
CMYKcmyk(65%, 40.9%, 0%, 20.4%)
CIE-LABlab(50.78, 9.98, -48.01)
CIE-LCHlch(50.78, 49.04, 281.75°)
OKLaboklab(57.88% -0.0234 -0.1368)
OKLCHoklch(57.88% 0.139 260.3)
XYZxyz(20.0907, 19.0824, 59.1128)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4778CB #CB9A47
analogous
#47BACB #4778CB #5847CB
triadic
#4778CB #CB4778 #78CB47
tetradic
#4778CB #CB47BA #CB9A47 #47CB58
square
#4778CB #CB47BA #CB9A47 #47CB58
split-complementary
#4778CB #CB5847 #BACB47
monochromatic
#214176 #2F5BA6 #4778CB #779BD8 #A6BEE6

Accessibility & contrast

On white

4.36
#4778CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4778CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4778CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4778CB#FFFFFF#000000##000000
##4778CB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CE
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4778cb;
/* rgb */ color: rgb(71, 120, 203);
/* oklch */ color: oklch(57.9% 0.139 260.3);
Tailwind
colors: {
  custom: {
    50: '#879edb',
    500: '#4778cb',
    950: '#000000',
  },
}
SCSS
$custom: #4778cb;
$custom-light: #879edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4778cb",
  "rgb": {
    "r": 71,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 217.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57876,
    "c": 0.13879,
    "h": 260.3
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#4778CB
secondary
#D3BE9B
accent
#A749DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4778CB

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

Preview Lab → · Contrast checker → · Palette generator →

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