#474ECA#474ECA

#474ECA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.189 H 274.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#474ECA
RGBrgb(71, 78, 202)
HSLhsl(237, 55%, 54%)
HSVhsv(237, 65%, 79%)
CMYKcmyk(64.9%, 61.4%, 0%, 20.8%)
CIE-LABlab(39.67, 36.02, -65.36)
CIE-LCHlch(39.67, 74.63, 298.86°)
OKLaboklab(49.44% 0.0153 -0.1883)
OKLCHoklch(49.44% 0.189 274.6)
XYZxyz(15.9801, 11.0513, 57.1566)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474ECA #CAC347
analogous
#478FCA #474ECA #8147CA
triadic
#474ECA #CA474E #4ECA47
tetradic
#474ECA #CA478F #CAC347 #47CA81
square
#474ECA #CA478F #CAC347 #47CA81
split-complementary
#474ECA #CA8147 #8FCA47
monochromatic
#222675 #2F36A4 #474ECA #777CD8 #A6A9E5

Accessibility & contrast

On white

6.54
#474ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#474ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474ECA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474ECA#FFFFFF#000000##FFFFFF
##474ECA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #474eca;
/* rgb */ color: rgb(71, 78, 202);
/* oklch */ color: oklch(49.4% 0.189 274.6);
Tailwind
colors: {
  custom: {
    50: '#897fdb',
    500: '#474eca',
    950: '#000000',
  },
}
SCSS
$custom: #474eca;
$custom-light: #897fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#474eca",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 236.794,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.4944,
    "c": 0.18895,
    "h": 274.6
  },
  "luminance": 0.11053
}

Semantic roles & 50–950 ramp

primary
#474ECA
secondary
#D2CF9A
accent
#D749DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #474ECA

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

Preview Lab → · Contrast checker → · Palette generator →

#474ECA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva