#4738BD#4738BD

#4738BD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.7% C 0.198 H 279.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4738BD
RGBrgb(71, 56, 189)
HSLhsl(247, 54%, 48%)
HSVhsv(247, 70%, 74%)
CMYKcmyk(62.4%, 70.4%, 0%, 25.9%)
CIE-LABlab(33.65, 44.89, -67.61)
CIE-LCHlch(33.65, 81.16, 303.58°)
OKLaboklab(44.73% 0.0339 -0.195)
OKLCHoklch(44.73% 0.198 279.8)
XYZxyz(13.1951, 7.8411, 48.9524)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4738BD #AEBD38
analogous
#386BBD #4738BD #8938BD
triadic
#4738BD #BD4738 #38BD47
tetradic
#4738BD #BD386B #AEBD38 #38BD89
square
#4738BD #BD386B #AEBD38 #38BD89
split-complementary
#4738BD #BD8938 #6BBD38
monochromatic
#241C5F #352A8E #4738BD #6E62D0 #9A91DE

Accessibility & contrast

On white

8.18
#4738BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4738BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4738BD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4738BD#FFFFFF#000000##FFFFFF
##4738BD1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4738bd;
/* rgb */ color: rgb(71, 56, 189);
/* oklch */ color: oklch(44.7% 0.198 279.8);
Tailwind
colors: {
  custom: {
    50: '#8870d2',
    500: '#4738bd',
    950: '#000000',
  },
}
SCSS
$custom: #4738bd;
$custom-light: #8870d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4738bd",
  "rgb": {
    "r": 71,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 246.767,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44729,
    "c": 0.19791,
    "h": 279.8
  },
  "luminance": 0.07842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4738BD

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

Preview Lab → · Contrast checker → · Palette generator →

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