#474BBA#474BBA

#474BBA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.171 H 276.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#474BBA
RGBrgb(71, 75, 186)
HSLhsl(238, 45%, 50%)
HSVhsv(238, 62%, 73%)
CMYKcmyk(61.8%, 59.7%, 0%, 27.1%)
CIE-LABlab(37.69, 32.47, -59.24)
CIE-LCHlch(37.69, 67.56, 298.73°)
OKLaboklab(47.59% 0.0184 -0.1704)
OKLCHoklch(47.59% 0.171 276.2)
XYZxyz(13.9747, 9.9158, 47.6224)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#474BBA #BAB647
analogous
#4784BA #474BBA #7C47BA
triadic
#474BBA #BA474B #4BBA47
tetradic
#474BBA #BA4784 #BAB647 #47BA7C
square
#474BBA #BA4784 #BAB647 #47BA7C
split-complementary
#474BBA #BA7C47 #84BA47
monochromatic
#252762 #35388E #474BBA #7477CB #A0A2DB

Accessibility & contrast

On white

7.04
#474BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#474BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #474BBA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##474BBA#FFFFFF#000000##FFFFFF
##474BBA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #474bba;
/* rgb */ color: rgb(71, 75, 186);
/* oklch */ color: oklch(47.6% 0.171 276.2);
Tailwind
colors: {
  custom: {
    50: '#867dd0',
    500: '#474bba',
    950: '#000000',
  },
}
SCSS
$custom: #474bba;
$custom-light: #867dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#474bba",
  "rgb": {
    "r": 71,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 237.913,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47591,
    "c": 0.17138,
    "h": 276.2
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

primary
#474BBA
secondary
#C8C695
accent
#D153D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #474BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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