#474ECF#474ECF

#474ECF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.9% C 0.195 H 274.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#474ECF
RGBrgb(71, 78, 207)
HSLhsl(237, 59%, 55%)
HSVhsv(237, 66%, 81%)
CMYKcmyk(65.7%, 62.3%, 0%, 18.8%)
CIE-LABlab(40.07, 37.71, -67.60)
CIE-LCHlch(40.07, 77.40, 299.16°)
OKLaboklab(49.86% 0.0151 -0.1949)
OKLCHoklch(49.86% 0.195 274.4)
XYZxyz(16.5817, 11.2919, 60.3251)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474ECF #CFC847
analogous
#4792CF #474ECF #8447CF
triadic
#474ECF #CF474E #4ECF47
tetradic
#474ECF #CF4792 #CFC847 #47CF84
square
#474ECF #CF4792 #CFC847 #47CF84
split-complementary
#474ECF #CF8447 #92CF47
monochromatic
#20257B #2D33AC #474ECF #787DDC #A8ABE8

Accessibility & contrast

On white

6.44
#474ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#474ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474ECF
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474ECF#FFFFFF#000000##FFFFFF
##474ECF1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #474ecf;
/* rgb */ color: rgb(71, 78, 207);
/* oklch */ color: oklch(49.9% 0.195 274.4);
Tailwind
colors: {
  custom: {
    50: '#8a80df',
    500: '#474ecf',
    950: '#000000',
  },
}
SCSS
$custom: #474ecf;
$custom-light: #8a80df;
$custom-dark: #000000;
JSON
{
  "hex": "#474ecf",
  "rgb": {
    "r": 71,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 236.912,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.4986,
    "c": 0.19547,
    "h": 274.4
  },
  "luminance": 0.11293
}

Semantic roles & 50–950 ramp

primary
#474ECF
secondary
#D6D39C
accent
#DA46E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #474ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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