#4147BE#4147BE

#4147BE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.8% C 0.183 H 274.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4147BE
RGBrgb(65, 71, 190)
HSLhsl(237, 49%, 50%)
HSVhsv(237, 66%, 75%)
CMYKcmyk(65.8%, 62.6%, 0%, 25.5%)
CIE-LABlab(36.64, 35.40, -63.32)
CIE-LCHlch(36.64, 72.54, 299.21°)
OKLaboklab(46.82% 0.0147 -0.1825)
OKLCHoklch(46.82% 0.183 274.6)
XYZxyz(13.7244, 9.3468, 49.7861)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147BE #BEB841
analogous
#4186BE #4147BE #7941BE
triadic
#4147BE #BE4147 #47BE41
tetradic
#4147BE #BE4186 #BEB841 #41BE79
square
#4147BE #BE4186 #BEB841 #41BE79
split-complementary
#4147BE #BE7941 #86BE41
monochromatic
#222563 #313690 #4147BE #6F73CE #9C9FDD

Accessibility & contrast

On white

7.32
#4147BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4147BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147BE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147BE#FFFFFF#000000##FFFFFF
##4147BE1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4147be;
/* rgb */ color: rgb(65, 71, 190);
/* oklch */ color: oklch(46.8% 0.183 274.6);
Tailwind
colors: {
  custom: {
    50: '#847ad3',
    500: '#4147be',
    950: '#000000',
  },
}
SCSS
$custom: #4147be;
$custom-light: #847ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4147be",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 237.12,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.46815,
    "c": 0.18312,
    "h": 274.6
  },
  "luminance": 0.09348
}

Semantic roles & 50–950 ramp

primary
#4147BE
secondary
#C9C791
accent
#D24FD9
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4147BE

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

Preview Lab → · Contrast checker → · Palette generator →

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