#4478DC#4478DC

#4478DC is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.163 H 262.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4478DC
RGBrgb(68, 120, 220)
HSLhsl(219, 68%, 56%)
HSVhsv(219, 69%, 86%)
CMYKcmyk(69.1%, 45.5%, 0%, 13.7%)
CIE-LABlab(51.64, 15.50, -56.29)
CIE-LCHlch(51.64, 58.39, 285.40°)
OKLaboklab(58.82% -0.0227 -0.1612)
OKLCHoklch(58.82% 0.163 262)
XYZxyz(22.0140, 19.8269, 70.3631)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4478DC #DCA844
analogous
#44C4DC #4478DC #5C44DC
triadic
#4478DC #DC4478 #78DC44
tetradic
#4478DC #DC44C4 #DCA844 #44DC5C
square
#4478DC #DC44C4 #DCA844 #44DC5C
split-complementary
#4478DC #DC5C44 #C4DC44
monochromatic
#1A418B #2459BF #4478DC #789DE6 #ABC2EF

Accessibility & contrast

On white

4.23
#4478DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4478DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4478DC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4478DC#FFFFFF#000000##000000
##4478DC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E0
Deuteranopia (green-blind)
#2675DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4478dc;
/* rgb */ color: rgb(68, 120, 220);
/* oklch */ color: oklch(58.8% 0.163 262.0);
Tailwind
colors: {
  custom: {
    50: '#899ee7',
    500: '#4478dc',
    950: '#000000',
  },
}
SCSS
$custom: #4478dc;
$custom-light: #899ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4478dc",
  "rgb": {
    "r": 68,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 219.474,
    "s": 68.468,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58821,
    "c": 0.16275,
    "h": 262
  },
  "luminance": 0.19829
}

Semantic roles & 50–950 ramp

primary
#4478DC
secondary
#DDC89F
accent
#B03CEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4478DC

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

Preview Lab → · Contrast checker → · Palette generator →

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