#4147BC#4147BC

#4147BC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.6% C 0.180 H 274.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#4147BC
RGBrgb(65, 71, 188)
HSLhsl(237, 49%, 50%)
HSVhsv(237, 65%, 74%)
CMYKcmyk(65.4%, 62.2%, 0%, 26.3%)
CIE-LABlab(36.48, 34.72, -62.41)
CIE-LCHlch(36.48, 71.41, 299.09°)
OKLaboklab(46.64% 0.0148 -0.1799)
OKLCHoklch(46.64% 0.18 274.7)
XYZxyz(13.5073, 9.2600, 48.6427)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147BC #BCB641
analogous
#4185BC #4147BC #7841BC
triadic
#4147BC #BC4147 #47BC41
tetradic
#4147BC #BC4185 #BCB641 #41BC78
square
#4147BC #BC4185 #BCB641 #41BC78
split-complementary
#4147BC #BC7841 #85BC41
monochromatic
#222561 #31368F #4147BC #6E72CD #9B9EDC

Accessibility & contrast

On white

7.36
#4147BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4147BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147BC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147BC#FFFFFF#000000##FFFFFF
##4147BC1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4147bc;
/* rgb */ color: rgb(65, 71, 188);
/* oklch */ color: oklch(46.6% 0.180 274.7);
Tailwind
colors: {
  custom: {
    50: '#847ad1',
    500: '#4147bc',
    950: '#000000',
  },
}
SCSS
$custom: #4147bc;
$custom-light: #847ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4147bc",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 237.073,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.18048,
    "h": 274.7
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#4147BC
secondary
#C9C690
accent
#D250D8
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4147BC

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

Preview Lab → · Contrast checker → · Palette generator →

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