#4147B5#4147B5

#4147B5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.171 H 275.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#4147B5
RGBrgb(65, 71, 181)
HSLhsl(237, 47%, 48%)
HSVhsv(237, 64%, 71%)
CMYKcmyk(64.1%, 60.8%, 0%, 29%)
CIE-LABlab(35.92, 32.31, -59.20)
CIE-LCHlch(35.92, 67.45, 298.62°)
OKLaboklab(46.06% 0.0151 -0.1705)
OKLCHoklch(46.06% 0.171 275)
XYZxyz(12.7710, 8.9654, 44.7646)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147B5 #B5AF41
analogous
#4181B5 #4147B5 #7541B5
triadic
#4147B5 #B54147 #47B541
tetradic
#4147B5 #B54181 #B5AF41 #41B575
square
#4147B5 #B54181 #B5AF41 #41B575
split-complementary
#4147B5 #B57541 #81B541
monochromatic
#21245B #313588 #4147B5 #6A6FC9 #979ADA

Accessibility & contrast

On white

7.52
#4147B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4147B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147B5
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147B5#FFFFFF#000000##FFFFFF
##4147B51.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4147b5;
/* rgb */ color: rgb(65, 71, 181);
/* oklch */ color: oklch(46.1% 0.171 275.0);
Tailwind
colors: {
  custom: {
    50: '#837acc',
    500: '#4147b5',
    950: '#000000',
  },
}
SCSS
$custom: #4147b5;
$custom-light: #837acc;
$custom-dark: #000000;
JSON
{
  "hex": "#4147b5",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 236.897,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46055,
    "c": 0.17112,
    "h": 275
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#4147B5
secondary
#C5C28C
accent
#D051D7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4147B5

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

Preview Lab → · Contrast checker → · Palette generator →

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