#4738C2#4738C2

#4738C2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.204 H 279.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#4738C2
RGBrgb(71, 56, 194)
HSLhsl(247, 55%, 49%)
HSVhsv(247, 71%, 76%)
CMYKcmyk(63.4%, 71.1%, 0%, 23.9%)
CIE-LABlab(34.11, 46.46, -69.79)
CIE-LCHlch(34.11, 83.84, 303.65°)
OKLaboklab(45.2% 0.033 -0.2014)
OKLCHoklch(45.2% 0.204 279.3)
XYZxyz(13.7472, 8.0619, 51.8601)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4738C2 #B3C238
analogous
#386EC2 #4738C2 #8C38C2
triadic
#4738C2 #C24738 #38C247
tetradic
#4738C2 #C2386E #B3C238 #38C28C
square
#4738C2 #C2386E #B3C238 #38C28C
split-complementary
#4738C2 #C28C38 #6EC238
monochromatic
#241D63 #362A93 #4738C2 #7165D2 #9C94E0

Accessibility & contrast

On white

8.04
#4738C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4738C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4738C2#FFFFFF#000000##FFFFFF
##4738C21.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4738c2;
/* rgb */ color: rgb(71, 56, 194);
/* oklch */ color: oklch(45.2% 0.204 279.3);
Tailwind
colors: {
  custom: {
    50: '#8971d6',
    500: '#4738c2',
    950: '#000000',
  },
}
SCSS
$custom: #4738c2;
$custom-light: #8971d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4738c2",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 246.522,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.20405,
    "h": 279.3
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#4738C2
secondary
#C4CB8A
accent
#DF49CE
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4738C2

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

Preview Lab → · Contrast checker → · Palette generator →

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