#4147C5#4147C5

#4147C5 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.4% C 0.192 H 274.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4147C5
RGBrgb(65, 71, 197)
HSLhsl(237, 53%, 51%)
HSVhsv(237, 67%, 77%)
CMYKcmyk(67%, 64%, 0%, 22.7%)
CIE-LABlab(37.23, 37.79, -66.46)
CIE-LCHlch(37.23, 76.45, 299.63°)
OKLaboklab(47.42% 0.0143 -0.1917)
OKLCHoklch(47.42% 0.192 274.3)
XYZxyz(14.5079, 9.6602, 53.9125)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147C5 #C5BF41
analogous
#4189C5 #4147C5 #7D41C5
triadic
#4147C5 #C54147 #47C541
tetradic
#4147C5 #C54189 #C5BF41 #41C57D
square
#4147C5 #C54189 #C5BF41 #41C57D
split-complementary
#4147C5 #C57D41 #89C541
monochromatic
#21246B #2F349A #4147C5 #7074D3 #9FA2E2

Accessibility & contrast

On white

7.16
#4147C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4147C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147C5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147C5#FFFFFF#000000##FFFFFF
##4147C51.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC9
Deuteranopia (green-blind)
#0052C3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4147c5;
/* rgb */ color: rgb(65, 71, 197);
/* oklch */ color: oklch(47.4% 0.192 274.3);
Tailwind
colors: {
  custom: {
    50: '#867ad8',
    500: '#4147c5',
    950: '#000000',
  },
}
SCSS
$custom: #4147c5;
$custom-light: #867ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#4147c5",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 237.273,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47422,
    "c": 0.19228,
    "h": 274.3
  },
  "luminance": 0.09662
}

Semantic roles & 50–950 ramp

primary
#4147C5
secondary
#CECB94
accent
#D64BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #4147C5

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

Preview Lab → · Contrast checker → · Palette generator →

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