#4147CE#4147CE

#4147CE is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.2% C 0.204 H 273.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4147CE
RGBrgb(65, 71, 206)
HSLhsl(237, 59%, 53%)
HSVhsv(237, 68%, 81%)
CMYKcmyk(68.4%, 65.5%, 0%, 19.2%)
CIE-LABlab(37.99, 40.85, -70.42)
CIE-LCHlch(37.99, 81.41, 300.11°)
OKLaboklab(48.22% 0.0135 -0.2034)
OKLCHoklch(48.22% 0.204 273.8)
XYZxyz(15.5701, 10.0851, 59.5066)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147CE #CEC841
analogous
#418DCE #4147CE #8141CE
triadic
#4147CE #CE4147 #47CE41
tetradic
#4147CE #CE418D #CEC841 #41CE81
square
#4147CE #CE418D #CEC841 #41CE81
split-complementary
#4147CE #CE8141 #8DCE41
monochromatic
#1E2276 #2B30A7 #4147CE #7276DB #A2A5E7

Accessibility & contrast

On white

6.96
#4147CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4147CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4147CE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147CE#FFFFFF#000000##FFFFFF
##4147CE1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#006B84
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4147ce;
/* rgb */ color: rgb(65, 71, 206);
/* oklch */ color: oklch(48.2% 0.204 273.8);
Tailwind
colors: {
  custom: {
    50: '#887ade',
    500: '#4147ce',
    950: '#000000',
  },
}
SCSS
$custom: #4147ce;
$custom-light: #887ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4147ce",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 237.447,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.4822,
    "c": 0.20383,
    "h": 273.8
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#4147CE
secondary
#D4D197
accent
#DC46E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4147CE

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

Preview Lab → · Contrast checker → · Palette generator →

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