#4738CF#4738CF

#4738CF is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.220 H 278.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#4738CF
RGBrgb(71, 56, 207)
HSLhsl(246, 61%, 52%)
HSVhsv(246, 73%, 81%)
CMYKcmyk(65.7%, 72.9%, 0%, 18.8%)
CIE-LABlab(35.34, 50.51, -75.34)
CIE-LCHlch(35.34, 90.71, 303.84°)
OKLaboklab(46.45% 0.0305 -0.2176)
OKLCHoklch(46.45% 0.22 278)
XYZxyz(15.2716, 8.6716, 59.8884)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4738CF #C0CF38
analogous
#3875CF #4738CF #9338CF
triadic
#4738CF #CF4738 #38CF47
tetradic
#4738CF #CF3875 #C0CF38 #38CF93
square
#4738CF #CF3875 #C0CF38 #38CF93
split-complementary
#4738CF #CF9338 #75CF38
monochromatic
#241B71 #3327A3 #4738CF #7569DB #A29BE7

Accessibility & contrast

On white

7.68
#4738CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#4738CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4738CF#FFFFFF#000000##FFFFFF
##4738CF1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#004DCC
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4738cf;
/* rgb */ color: rgb(71, 56, 207);
/* oklch */ color: oklch(46.4% 0.220 278.0);
Tailwind
colors: {
  custom: {
    50: '#8c71df',
    500: '#4738cf',
    950: '#000000',
  },
}
SCSS
$custom: #4738cf;
$custom-light: #8c71df;
$custom-dark: #000000;
JSON
{
  "hex": "#4738cf",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 245.96,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.2197,
    "h": 278
  },
  "luminance": 0.08673
}

Semantic roles & 50–950 ramp

primary
#4738CF
secondary
#CCD390
accent
#E444D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4738CF

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

Preview Lab → · Contrast checker → · Palette generator →

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