#4147BA#4147BA

#4147BA is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.5% C 0.178 H 274.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4147BA
RGBrgb(65, 71, 186)
HSLhsl(237, 48%, 49%)
HSVhsv(237, 65%, 73%)
CMYKcmyk(65.1%, 61.8%, 0%, 27.1%)
CIE-LABlab(36.32, 34.03, -61.50)
CIE-LCHlch(36.32, 70.29, 298.96°)
OKLaboklab(46.47% 0.0149 -0.1772)
OKLCHoklch(46.47% 0.178 274.8)
XYZxyz(13.2932, 9.1743, 47.5151)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147BA #BAB441
analogous
#4184BA #4147BA #7841BA
triadic
#4147BA #BA4147 #47BA41
tetradic
#4147BA #BA4184 #BAB441 #41BA78
square
#4147BA #BA4184 #BAB441 #41BA78
split-complementary
#4147BA #BA7841 #84BA41
monochromatic
#21245F #31368D #4147BA #6C71CC #9A9DDC

Accessibility & contrast

On white

7.41
#4147BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4147BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147BA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147BA#FFFFFF#000000##FFFFFF
##4147BA1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4147ba;
/* rgb */ color: rgb(65, 71, 186);
/* oklch */ color: oklch(46.5% 0.178 274.8);
Tailwind
colors: {
  custom: {
    50: '#837ad0',
    500: '#4147ba',
    950: '#000000',
  },
}
SCSS
$custom: #4147ba;
$custom-light: #837ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4147ba",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 237.025,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.46474,
    "c": 0.17782,
    "h": 274.8
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#4147BA
secondary
#C8C58F
accent
#D150D8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4147BA

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

Preview Lab → · Contrast checker → · Palette generator →

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