#4147C9#4147C9

#4147C9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.8% C 0.197 H 274.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4147C9
RGBrgb(65, 71, 201)
HSLhsl(237, 56%, 52%)
HSVhsv(237, 68%, 79%)
CMYKcmyk(67.7%, 64.7%, 0%, 21.2%)
CIE-LABlab(37.56, 39.15, -68.23)
CIE-LCHlch(37.56, 78.66, 299.85°)
OKLaboklab(47.77% 0.014 -0.1969)
OKLCHoklch(47.77% 0.197 274.1)
XYZxyz(14.9723, 9.8460, 56.3584)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147C9 #C9C341
analogous
#418BC9 #4147C9 #7F41C9
triadic
#4147C9 #C94147 #47C941
tetradic
#4147C9 #C9418B #C9C341 #41C97F
square
#4147C9 #C9418B #C9C341 #41C97F
split-complementary
#4147C9 #C97F41 #8BC941
monochromatic
#202370 #2D329F #4147C9 #7175D7 #A0A3E4

Accessibility & contrast

On white

7.07
#4147C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4147C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147C9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147C9#FFFFFF#000000##FFFFFF
##4147C91.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4147c9;
/* rgb */ color: rgb(65, 71, 201);
/* oklch */ color: oklch(47.8% 0.197 274.1);
Tailwind
colors: {
  custom: {
    50: '#867ada',
    500: '#4147c9',
    950: '#000000',
  },
}
SCSS
$custom: #4147c9;
$custom-light: #867ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4147c9",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 201
  },
  "hsl": {
    "h": 237.353,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.47774,
    "c": 0.19744,
    "h": 274.1
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#4147C9
secondary
#D1CE95
accent
#D849DF
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4147C9

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

Preview Lab → · Contrast checker → · Palette generator →

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