#4738AA#4738AA

#4738AA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.174 H 282.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4738AA
RGBrgb(71, 56, 170)
HSLhsl(248, 50%, 44%)
HSVhsv(248, 67%, 67%)
CMYKcmyk(58.2%, 67.1%, 0%, 33.3%)
CIE-LABlab(31.96, 38.87, -59.09)
CIE-LCHlch(31.96, 70.72, 303.34°)
OKLaboklab(43% 0.0368 -0.17)
OKLCHoklch(43% 0.174 282.2)
XYZxyz(11.2662, 7.0695, 38.7933)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4738AA #9BAA38
analogous
#3862AA #4738AA #8038AA
triadic
#4738AA #AA4738 #38AA47
tetradic
#4738AA #AA3862 #9BAA38 #38AA80
square
#4738AA #AA3862 #9BAA38 #38AA80
split-complementary
#4738AA #AA8038 #62AA38
monochromatic
#211A4E #34297C #4738AA #6657C8 #9085D7

Accessibility & contrast

On white

8.70
#4738AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4738AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4738AA#FFFFFF#000000##FFFFFF
##4738AA1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#0E556C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4738aa;
/* rgb */ color: rgb(71, 56, 170);
/* oklch */ color: oklch(43.0% 0.174 282.2);
Tailwind
colors: {
  custom: {
    50: '#8570c4',
    500: '#4738aa',
    950: '#000000',
  },
}
SCSS
$custom: #4738aa;
$custom-light: #8570c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4738aa",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 247.895,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43001,
    "c": 0.17394,
    "h": 282.2
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#4738AA
secondary
#B8C17D
accent
#DA4EC8
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4738AA

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

Preview Lab → · Contrast checker → · Palette generator →

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