#4738AE#4738AE

#4738AE is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.4% C 0.179 H 281.7°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4738AE
RGBrgb(71, 56, 174)
HSLhsl(248, 51%, 45%)
HSVhsv(248, 68%, 68%)
CMYKcmyk(59.2%, 67.8%, 0%, 31.8%)
CIE-LABlab(32.31, 40.14, -60.92)
CIE-LCHlch(32.31, 72.95, 303.38°)
OKLaboklab(43.36% 0.0362 -0.1754)
OKLCHoklch(43.36% 0.179 281.7)
XYZxyz(11.6503, 7.2231, 40.8165)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4738AE #9FAE38
analogous
#3864AE #4738AE #8238AE
triadic
#4738AE #AE4738 #38AE47
tetradic
#4738AE #AE3864 #9FAE38 #38AE82
square
#4738AE #AE3864 #9FAE38 #38AE82
split-complementary
#4738AE #AE8238 #64AE38
monochromatic
#211A51 #342980 #4738AE #6859CA #9288D9

Accessibility & contrast

On white

8.59
#4738AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4738AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4738AE
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4738AE#FFFFFF#000000##FFFFFF
##4738AE1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#01576E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4738ae;
/* rgb */ color: rgb(71, 56, 174);
/* oklch */ color: oklch(43.4% 0.179 281.7);
Tailwind
colors: {
  custom: {
    50: '#8570c7',
    500: '#4738ae',
    950: '#000000',
  },
}
SCSS
$custom: #4738ae;
$custom-light: #8570c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4738ae",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 247.627,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43356,
    "c": 0.17908,
    "h": 281.7
  },
  "luminance": 0.07224
}

Semantic roles & 50–950 ramp

primary
#4738AE
secondary
#BAC37F
accent
#DB4DC9
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4738AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4738AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva