#4478C2#4478C2

#4478C2 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.2% C 0.128 H 257.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4478C2
RGBrgb(68, 120, 194)
HSLhsl(215, 51%, 51%)
HSVhsv(215, 65%, 76%)
CMYKcmyk(64.9%, 38.1%, 0%, 23.9%)
CIE-LABlab(50.16, 6.32, -43.86)
CIE-LCHlch(50.16, 44.31, 278.20°)
OKLaboklab(57.2% -0.0278 -0.1247)
OKLCHoklch(57.2% 0.128 257.4)
XYZxyz(18.8345, 18.5551, 53.6174)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4478C2 #C28E44
analogous
#44B7C2 #4478C2 #4F44C2
triadic
#4478C2 #C24478 #78C244
tetradic
#4478C2 #C244B7 #C28E44 #44C24F
square
#4478C2 #C244B7 #C28E44 #44C24F
split-complementary
#4478C2 #C24F44 #B7C244
monochromatic
#224069 #315B97 #4478C2 #7299D1 #A0BBE0

Accessibility & contrast

On white

4.46
#4478C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4478C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4478C2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4478C2#FFFFFF#000000##000000
##4478C21.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC5
Deuteranopia (green-blind)
#4572C0
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4478c2;
/* rgb */ color: rgb(68, 120, 194);
/* oklch */ color: oklch(57.2% 0.128 257.4);
Tailwind
colors: {
  custom: {
    50: '#849ed5',
    500: '#4478c2',
    950: '#000000',
  },
}
SCSS
$custom: #4478c2;
$custom-light: #849ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4478c2",
  "rgb": {
    "r": 68,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 215.238,
    "s": 50.806,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57199,
    "c": 0.12775,
    "h": 257.4
  },
  "luminance": 0.18557
}

Semantic roles & 50–950 ramp

primary
#4478C2
secondary
#CDB695
accent
#A04EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4478C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4478C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva