#4147C3#4147C3

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

Color values

HEX#4147C3
RGBrgb(65, 71, 195)
HSLhsl(237, 52%, 51%)
HSVhsv(237, 67%, 76%)
CMYKcmyk(66.7%, 63.6%, 0%, 23.5%)
CIE-LABlab(37.06, 37.11, -65.56)
CIE-LCHlch(37.06, 75.34, 299.51°)
OKLaboklab(47.25% 0.0144 -0.1891)
OKLCHoklch(47.25% 0.19 274.3)
XYZxyz(14.2803, 9.5691, 52.7136)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147C3 #C3BD41
analogous
#4188C3 #4147C3 #7C41C3
triadic
#4147C3 #C34147 #47C341
tetradic
#4147C3 #C34188 #C3BD41 #41C37C
square
#4147C3 #C34188 #C3BD41 #41C37C
split-complementary
#4147C3 #C37C41 #88C341
monochromatic
#212469 #303497 #4147C3 #7074D2 #9EA1E0

Accessibility & contrast

On white

7.21
#4147C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4147C3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147C3#FFFFFF#000000##FFFFFF
##4147C31.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0051C1
Tritanopia (blue-blind)
#00677E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4147c3;
/* rgb */ color: rgb(65, 71, 195);
/* oklch */ color: oklch(47.2% 0.190 274.3);
Tailwind
colors: {
  custom: {
    50: '#857ad6',
    500: '#4147c3',
    950: '#000000',
  },
}
SCSS
$custom: #4147c3;
$custom-light: #857ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4147c3",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 195
  },
  "hsl": {
    "h": 237.231,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47247,
    "c": 0.18968,
    "h": 274.3
  },
  "luminance": 0.0957
}

Semantic roles & 50–950 ramp

primary
#4147C3
secondary
#CDCA93
accent
#D54CDB
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4147C3

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

Preview Lab → · Contrast checker → · Palette generator →

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