#4147D1#4147D1

#4147D1 is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.5% C 0.208 H 273.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4147D1
RGBrgb(65, 71, 209)
HSLhsl(238, 61%, 54%)
HSVhsv(238, 69%, 82%)
CMYKcmyk(68.9%, 66%, 0%, 18%)
CIE-LABlab(38.26, 41.86, -71.73)
CIE-LCHlch(38.26, 83.05, 300.27°)
OKLaboklab(48.49% 0.0133 -0.2072)
OKLCHoklch(48.49% 0.208 273.7)
XYZxyz(15.9380, 10.2322, 61.4443)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147D1 #D1CB41
analogous
#418FD1 #4147D1 #8341D1
triadic
#4147D1 #D14147 #47D141
tetradic
#4147D1 #D1418F #D1CB41 #41D183
square
#4147D1 #D1418F #D1CB41 #41D183
split-complementary
#4147D1 #D18341 #8FD141
monochromatic
#1E217A #292FAB #4147D1 #7277DD #A4A6E9

Accessibility & contrast

On white

6.89
#4147D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4147D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4147D1
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147D1#FFFFFF#000000##FFFFFF
##4147D11.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0053CE
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4147d1;
/* rgb */ color: rgb(65, 71, 209);
/* oklch */ color: oklch(48.5% 0.208 273.7);
Tailwind
colors: {
  custom: {
    50: '#887be0',
    500: '#4147d1',
    950: '#000000',
  },
}
SCSS
$custom: #4147d1;
$custom-light: #887be0;
$custom-dark: #000000;
JSON
{
  "hex": "#4147d1",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 237.5,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48491,
    "c": 0.20762,
    "h": 273.7
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#4147D1
secondary
#D6D398
accent
#DD44E4
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4147D1

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

Preview Lab → · Contrast checker → · Palette generator →

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