#474FAF#474FAF

#474FAF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.151 H 275.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#474FAF
RGBrgb(71, 79, 175)
HSLhsl(235, 42%, 48%)
HSVhsv(235, 59%, 69%)
CMYKcmyk(59.4%, 54.9%, 0%, 31.4%)
CIE-LABlab(37.89, 26.19, -52.44)
CIE-LCHlch(37.89, 58.61, 296.54°)
OKLaboklab(47.48% 0.0144 -0.1503)
OKLCHoklch(47.48% 0.151 275.5)
XYZxyz(13.1299, 10.0257, 41.7924)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474FAF #AFA747
analogous
#4783AF #474FAF #7347AF
triadic
#474FAF #AF474F #4FAF47
tetradic
#474FAF #AF4783 #AFA747 #47AF73
square
#474FAF #AF4783 #AFA747 #47AF73
split-complementary
#474FAF #AF7347 #83AF47
monochromatic
#242858 #353B83 #474FAF #6F75C4 #9A9FD6

Accessibility & contrast

On white

6.99
#474FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#474FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #474FAF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474FAF#FFFFFF#000000##FFFFFF
##474FAF1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5EB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #474faf;
/* rgb */ color: rgb(71, 79, 175);
/* oklch */ color: oklch(47.5% 0.151 275.5);
Tailwind
colors: {
  custom: {
    50: '#8480c7',
    500: '#474faf',
    950: '#000000',
  },
}
SCSS
$custom: #474faf;
$custom-light: #8480c7;
$custom-dark: #000000;
JSON
{
  "hex": "#474faf",
  "rgb": {
    "r": 71,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 235.385,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47483,
    "c": 0.15102,
    "h": 275.5
  },
  "luminance": 0.10027
}

Semantic roles & 50–950 ramp

primary
#474FAF
secondary
#C2BE8F
accent
#C956D2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #474FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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