#4147C4#4147C4

#4147C4 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.3% C 0.191 H 274.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4147C4
RGBrgb(65, 71, 196)
HSLhsl(237, 53%, 51%)
HSVhsv(237, 67%, 77%)
CMYKcmyk(66.8%, 63.8%, 0%, 23.1%)
CIE-LABlab(37.14, 37.45, -66.01)
CIE-LCHlch(37.14, 75.90, 299.57°)
OKLaboklab(47.34% 0.0143 -0.1904)
OKLCHoklch(47.34% 0.191 274.3)
XYZxyz(14.3937, 9.6145, 53.3111)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147C4 #C4BE41
analogous
#4188C4 #4147C4 #7C41C4
triadic
#4147C4 #C44147 #47C441
tetradic
#4147C4 #C44188 #C4BE41 #41C47C
square
#4147C4 #C44188 #C4BE41 #41C47C
split-complementary
#4147C4 #C47C41 #88C441
monochromatic
#21246A #2F3498 #4147C4 #7074D3 #9EA1E1

Accessibility & contrast

On white

7.18
#4147C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4147C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147C4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147C4#FFFFFF#000000##FFFFFF
##4147C41.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0052C2
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4147c4;
/* rgb */ color: rgb(65, 71, 196);
/* oklch */ color: oklch(47.3% 0.191 274.3);
Tailwind
colors: {
  custom: {
    50: '#857ad7',
    500: '#4147c4',
    950: '#000000',
  },
}
SCSS
$custom: #4147c4;
$custom-light: #857ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4147c4",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 196
  },
  "hsl": {
    "h": 237.252,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47335,
    "c": 0.19098,
    "h": 274.3
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#4147C4
secondary
#CDCB93
accent
#D54CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4147C4

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

Preview Lab → · Contrast checker → · Palette generator →

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