#4147BD#4147BD

#4147BD is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.7% C 0.182 H 274.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#4147BD
RGBrgb(65, 71, 189)
HSLhsl(237, 49%, 50%)
HSVhsv(237, 66%, 74%)
CMYKcmyk(65.6%, 62.4%, 0%, 25.9%)
CIE-LABlab(36.56, 35.06, -62.86)
CIE-LCHlch(36.56, 71.98, 299.15°)
OKLaboklab(46.73% 0.0147 -0.1812)
OKLCHoklch(46.73% 0.182 274.6)
XYZxyz(13.6155, 9.3032, 49.2124)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147BD #BDB741
analogous
#4185BD #4147BD #7941BD
triadic
#4147BD #BD4147 #47BD41
tetradic
#4147BD #BD4185 #BDB741 #41BD79
square
#4147BD #BD4185 #BDB741 #41BD79
split-complementary
#4147BD #BD7941 #85BD41
monochromatic
#222562 #31368F #4147BD #6E73CD #9C9FDD

Accessibility & contrast

On white

7.34
#4147BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4147BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147BD
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147BD#FFFFFF#000000##FFFFFF
##4147BD1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4147bd;
/* rgb */ color: rgb(65, 71, 189);
/* oklch */ color: oklch(46.7% 0.182 274.6);
Tailwind
colors: {
  custom: {
    50: '#847ad2',
    500: '#4147bd',
    950: '#000000',
  },
}
SCSS
$custom: #4147bd;
$custom-light: #847ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#4147bd",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 237.097,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4673,
    "c": 0.18181,
    "h": 274.6
  },
  "luminance": 0.09304
}

Semantic roles & 50–950 ramp

primary
#4147BD
secondary
#C9C691
accent
#D24FD8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4147BD

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

Preview Lab → · Contrast checker → · Palette generator →

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