#4147C2#4147C2

#4147C2 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.188 H 274.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4147C2
RGBrgb(65, 71, 194)
HSLhsl(237, 51%, 51%)
HSVhsv(237, 66%, 76%)
CMYKcmyk(66.5%, 63.4%, 0%, 23.9%)
CIE-LABlab(36.97, 36.77, -65.12)
CIE-LCHlch(36.97, 74.78, 299.45°)
OKLaboklab(47.16% 0.0145 -0.1878)
OKLCHoklch(47.16% 0.188 274.4)
XYZxyz(14.1676, 9.5241, 52.1202)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147C2 #C2BC41
analogous
#4187C2 #4147C2 #7B41C2
triadic
#4147C2 #C24147 #47C241
tetradic
#4147C2 #C24187 #C2BC41 #41C27B
square
#4147C2 #C24187 #C2BC41 #41C27B
split-complementary
#4147C2 #C27B41 #87C241
monochromatic
#212467 #303596 #4147C2 #6F74D1 #9EA1E0

Accessibility & contrast

On white

7.23
#4147C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4147C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147C2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147C2#FFFFFF#000000##FFFFFF
##4147C21.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0051C0
Tritanopia (blue-blind)
#00667E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4147c2;
/* rgb */ color: rgb(65, 71, 194);
/* oklch */ color: oklch(47.2% 0.188 274.4);
Tailwind
colors: {
  custom: {
    50: '#857ad5',
    500: '#4147c2',
    950: '#000000',
  },
}
SCSS
$custom: #4147c2;
$custom-light: #857ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4147c2",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 237.209,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4716,
    "c": 0.18838,
    "h": 274.4
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#4147C2
secondary
#CCC993
accent
#D44DDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4147C2

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

Preview Lab → · Contrast checker → · Palette generator →

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