#4147B8#4147B8

#4147B8 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.175 H 274.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#4147B8
RGBrgb(65, 71, 184)
HSLhsl(237, 48%, 49%)
HSVhsv(237, 65%, 72%)
CMYKcmyk(64.7%, 61.4%, 0%, 27.8%)
CIE-LABlab(36.16, 33.34, -60.58)
CIE-LCHlch(36.16, 69.15, 298.83°)
OKLaboklab(46.31% 0.015 -0.1745)
OKLCHoklch(46.31% 0.175 274.9)
XYZxyz(13.0821, 9.0899, 46.4032)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147B8 #B8B241
analogous
#4183B8 #4147B8 #7741B8
triadic
#4147B8 #B84147 #47B841
tetradic
#4147B8 #B84183 #B8B241 #41B877
square
#4147B8 #B84183 #B8B241 #41B877
split-complementary
#4147B8 #B87741 #83B841
monochromatic
#21245E #31368B #4147B8 #6B70CB #999CDB

Accessibility & contrast

On white

7.45
#4147B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#4147B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147B8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147B8#FFFFFF#000000##FFFFFF
##4147B81.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#0050B6
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4147b8;
/* rgb */ color: rgb(65, 71, 184);
/* oklch */ color: oklch(46.3% 0.175 274.9);
Tailwind
colors: {
  custom: {
    50: '#837ace',
    500: '#4147b8',
    950: '#000000',
  },
}
SCSS
$custom: #4147b8;
$custom-light: #837ace;
$custom-dark: #000000;
JSON
{
  "hex": "#4147b8",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 236.975,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46306,
    "c": 0.17515,
    "h": 274.9
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#4147B8
secondary
#C7C48E
accent
#D150D7
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4147B8

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

Preview Lab → · Contrast checker → · Palette generator →

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