#4738BE#4738BE

#4738BE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.8% C 0.199 H 279.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4738BE
RGBrgb(71, 56, 190)
HSLhsl(247, 54%, 48%)
HSVhsv(247, 71%, 75%)
CMYKcmyk(62.6%, 70.5%, 0%, 25.5%)
CIE-LABlab(33.74, 45.21, -68.05)
CIE-LCHlch(33.74, 81.70, 303.60°)
OKLaboklab(44.82% 0.0337 -0.1963)
OKLCHoklch(44.82% 0.199 279.7)
XYZxyz(13.3040, 7.8846, 49.5260)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4738BE #AFBE38
analogous
#386CBE #4738BE #8A38BE
triadic
#4738BE #BE4738 #38BE47
tetradic
#4738BE #BE386C #AFBE38 #38BE8A
square
#4738BE #BE386C #AFBE38 #38BE8A
split-complementary
#4738BE #BE8A38 #6CBE38
monochromatic
#241C5F #352A8F #4738BE #6F62D1 #9A92DF

Accessibility & contrast

On white

8.15
#4738BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4738BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4738BE#FFFFFF#000000##FFFFFF
##4738BE1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4738be;
/* rgb */ color: rgb(71, 56, 190);
/* oklch */ color: oklch(44.8% 0.199 279.7);
Tailwind
colors: {
  custom: {
    50: '#8870d3',
    500: '#4738be',
    950: '#000000',
  },
}
SCSS
$custom: #4738be;
$custom-light: #8870d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4738be",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 246.716,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44823,
    "c": 0.19915,
    "h": 279.7
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

primary
#4738BE
secondary
#C2CA88
accent
#DE4ACD
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4738BE

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

Preview Lab → · Contrast checker → · Palette generator →

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