#4147B9#4147B9

#4147B9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.4% C 0.176 H 274.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4147B9
RGBrgb(65, 71, 185)
HSLhsl(237, 48%, 49%)
HSVhsv(237, 65%, 73%)
CMYKcmyk(64.9%, 61.6%, 0%, 27.5%)
CIE-LABlab(36.24, 33.69, -61.04)
CIE-LCHlch(36.24, 69.72, 298.89°)
OKLaboklab(46.39% 0.0149 -0.1759)
OKLCHoklch(46.39% 0.176 274.8)
XYZxyz(13.1873, 9.1319, 46.9572)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147B9 #B9B341
analogous
#4183B9 #4147B9 #7741B9
triadic
#4147B9 #B94147 #47B941
tetradic
#4147B9 #B94183 #B9B341 #41B977
square
#4147B9 #B94183 #B9B341 #41B977
split-complementary
#4147B9 #B97741 #83B941
monochromatic
#21245E #31368C #4147B9 #6C71CB #999CDB

Accessibility & contrast

On white

7.43
#4147B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4147B9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147B9#FFFFFF#000000##FFFFFF
##4147B91.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4147b9;
/* rgb */ color: rgb(65, 71, 185);
/* oklch */ color: oklch(46.4% 0.176 274.8);
Tailwind
colors: {
  custom: {
    50: '#837acf',
    500: '#4147b9',
    950: '#000000',
  },
}
SCSS
$custom: #4147b9;
$custom-light: #837acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4147b9",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 185
  },
  "hsl": {
    "h": 237,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4639,
    "c": 0.17649,
    "h": 274.8
  },
  "luminance": 0.09133
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4147B9

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

Preview Lab → · Contrast checker → · Palette generator →

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