#4147BF#4147BF

#4147BF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.9% C 0.184 H 274.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#4147BF
RGBrgb(65, 71, 191)
HSLhsl(237, 50%, 50%)
HSVhsv(237, 66%, 75%)
CMYKcmyk(66%, 62.8%, 0%, 25.1%)
CIE-LABlab(36.73, 35.74, -63.77)
CIE-LCHlch(36.73, 73.10, 299.27°)
OKLaboklab(46.9% 0.0146 -0.1839)
OKLCHoklch(46.9% 0.184 274.5)
XYZxyz(13.8341, 9.3907, 50.3637)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147BF #BFB941
analogous
#4186BF #4147BF #7A41BF
triadic
#4147BF #BF4147 #47BF41
tetradic
#4147BF #BF4186 #BFB941 #41BF7A
square
#4147BF #BF4186 #BFB941 #41BF7A
split-complementary
#4147BF #BF7A41 #86BF41
monochromatic
#222564 #313692 #4147BF #6F73CE #9DA0DE

Accessibility & contrast

On white

7.30
#4147BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4147BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147BF
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147BF#FFFFFF#000000##FFFFFF
##4147BF1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#00657C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4147bf;
/* rgb */ color: rgb(65, 71, 191);
/* oklch */ color: oklch(46.9% 0.184 274.5);
Tailwind
colors: {
  custom: {
    50: '#847ad3',
    500: '#4147bf',
    950: '#000000',
  },
}
SCSS
$custom: #4147bf;
$custom-light: #847ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4147bf",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 237.143,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46901,
    "c": 0.18444,
    "h": 274.5
  },
  "luminance": 0.09392
}

Semantic roles & 50–950 ramp

primary
#4147BF
secondary
#CAC792
accent
#D34FD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4147BF

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

Preview Lab → · Contrast checker → · Palette generator →

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