#4738C5#4738C5

#4738C5 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.208 H 279.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#4738C5
RGBrgb(71, 56, 197)
HSLhsl(246, 56%, 50%)
HSVhsv(246, 72%, 77%)
CMYKcmyk(64%, 71.6%, 0%, 22.7%)
CIE-LABlab(34.39, 47.40, -71.09)
CIE-LCHlch(34.39, 85.44, 303.70°)
OKLaboklab(45.48% 0.0324 -0.2052)
OKLCHoklch(45.48% 0.208 279)
XYZxyz(14.0875, 8.1980, 53.6525)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4738C5 #B6C538
analogous
#3870C5 #4738C5 #8E38C5
triadic
#4738C5 #C54738 #38C547
tetradic
#4738C5 #C53870 #B6C538 #38C58E
square
#4738C5 #C53870 #B6C538 #38C58E
split-complementary
#4738C5 #C58E38 #70C538
monochromatic
#251D66 #362A95 #4738C5 #7267D4 #9E96E1

Accessibility & contrast

On white

7.96
#4738C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4738C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4738C5#FFFFFF#000000##FFFFFF
##4738C51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004BC2
Tritanopia (blue-blind)
#005F7B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4738c5;
/* rgb */ color: rgb(71, 56, 197);
/* oklch */ color: oklch(45.5% 0.208 279.0);
Tailwind
colors: {
  custom: {
    50: '#8a71d8',
    500: '#4738c5',
    950: '#000000',
  },
}
SCSS
$custom: #4738c5;
$custom-light: #8a71d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4738c5",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 246.383,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45484,
    "c": 0.2077,
    "h": 279
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#4738C5
secondary
#C6CD8C
accent
#DF49CF
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4738C5

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

Preview Lab → · Contrast checker → · Palette generator →

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