#474DAF#474DAF

#474DAF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.154 H 276.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#474DAF
RGBrgb(71, 77, 175)
HSLhsl(237, 42%, 48%)
HSVhsv(237, 59%, 69%)
CMYKcmyk(59.4%, 56%, 0%, 31.4%)
CIE-LABlab(37.37, 27.47, -53.27)
CIE-LCHlch(37.37, 59.94, 297.28°)
OKLaboklab(47.1% 0.0164 -0.1528)
OKLCHoklch(47.1% 0.154 276.1)
XYZxyz(12.9878, 9.7415, 41.7450)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474DAF #AFA947
analogous
#4781AF #474DAF #7547AF
triadic
#474DAF #AF474D #4DAF47
tetradic
#474DAF #AF4781 #AFA947 #47AF75
square
#474DAF #AF4781 #AFA947 #47AF75
split-complementary
#474DAF #AF7547 #81AF47
monochromatic
#242758 #353A83 #474DAF #6F74C4 #9A9ED6

Accessibility & contrast

On white

7.12
#474DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#474DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474DAF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474DAF#FFFFFF#000000##FFFFFF
##474DAF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #474daf;
/* rgb */ color: rgb(71, 77, 175);
/* oklch */ color: oklch(47.1% 0.154 276.1);
Tailwind
colors: {
  custom: {
    50: '#847ec8',
    500: '#474daf',
    950: '#000000',
  },
}
SCSS
$custom: #474daf;
$custom-light: #847ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#474daf",
  "rgb": {
    "r": 71,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 236.538,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47099,
    "c": 0.15367,
    "h": 276.1
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#474DAF
secondary
#C2BF8F
accent
#CB56D2
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #474DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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