#4738AB#4738AB

#4738AB is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.175 H 282.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4738AB
RGBrgb(71, 56, 171)
HSLhsl(248, 51%, 45%)
HSVhsv(248, 67%, 67%)
CMYKcmyk(58.5%, 67.3%, 0%, 32.9%)
CIE-LABlab(32.05, 39.19, -59.55)
CIE-LCHlch(32.05, 71.28, 303.35°)
OKLaboklab(43.09% 0.0366 -0.1714)
OKLCHoklch(43.09% 0.175 282.1)
XYZxyz(11.3611, 7.1075, 39.2934)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4738AB #9CAB38
analogous
#3863AB #4738AB #8138AB
triadic
#4738AB #AB4738 #38AB47
tetradic
#4738AB #AB3863 #9CAB38 #38AB81
square
#4738AB #AB3863 #9CAB38 #38AB81
split-complementary
#4738AB #AB8138 #63AB38
monochromatic
#211A4F #34297D #4738AB #6758C8 #9186D7

Accessibility & contrast

On white

8.67
#4738AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4738AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4738AB#FFFFFF#000000##FFFFFF
##4738AB1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#0B566C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4738ab;
/* rgb */ color: rgb(71, 56, 171);
/* oklch */ color: oklch(43.1% 0.175 282.1);
Tailwind
colors: {
  custom: {
    50: '#8570c5',
    500: '#4738ab',
    950: '#000000',
  },
}
SCSS
$custom: #4738ab;
$custom-light: #8570c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4738ab",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 247.826,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43089,
    "c": 0.17523,
    "h": 282.1
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4738AB

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

Preview Lab → · Contrast checker → · Palette generator →

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