#478CEF#478CEF

#478CEF is a light, vivid blue. Relative luminance 0.263; OKLCH L 64.4% C 0.164 H 257.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#478CEF
RGBrgb(71, 140, 239)
HSLhsl(215, 84%, 61%)
HSVhsv(215, 70%, 94%)
CMYKcmyk(70.3%, 41.4%, 0%, 6.3%)
CIE-LABlab(58.34, 10.46, -56.17)
CIE-LCHlch(58.34, 57.14, 280.54°)
OKLaboklab(64.38% -0.0349 -0.1605)
OKLCHoklch(64.38% 0.164 257.7)
XYZxyz(27.5509, 26.3248, 85.2738)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#478CEF #EFAA47
analogous
#47E0EF #478CEF #5647EF
triadic
#478CEF #EF478C #8CEF47
tetradic
#478CEF #EF47E0 #EFAA47 #47EF56
square
#478CEF #EF47E0 #EFAA47 #47EF56
split-complementary
#478CEF #EF5647 #E0EF47
monochromatic
#0F50AD #146AE5 #478CEF #7FAFF4 #B8D2F9

Accessibility & contrast

On white

3.35
#478CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#478CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #478CEF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##478CEF#FFFFFF#000000##000000
##478CEF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#4185ED
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #478cef;
/* rgb */ color: rgb(71, 140, 239);
/* oklch */ color: oklch(64.4% 0.164 257.7);
Tailwind
colors: {
  custom: {
    50: '#8dadf5',
    500: '#478cef',
    950: '#000000',
  },
}
SCSS
$custom: #478cef;
$custom-light: #8dadf5;
$custom-dark: #000000;
JSON
{
  "hex": "#478cef",
  "rgb": {
    "r": 71,
    "g": 140,
    "b": 239
  },
  "hsl": {
    "h": 215.357,
    "s": 84,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64382,
    "c": 0.16421,
    "h": 257.7
  },
  "luminance": 0.26328
}

Semantic roles & 50–950 ramp

primary
#478CEF
secondary
#E9CFA9
accent
#8605E0
background
#F9FAFF
surface
#F2F4FE
border
#CCCED6
text
#0E1017
muted
#7E7F85

Preview Lab

Preview with #478CEF

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

Preview Lab → · Contrast checker → · Palette generator →

#478CEF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva