#4147D7#4147D7

#4147D7 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.0% C 0.215 H 273.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4147D7
RGBrgb(65, 71, 215)
HSLhsl(238, 65%, 55%)
HSVhsv(238, 70%, 84%)
CMYKcmyk(69.8%, 67%, 0%, 15.7%)
CIE-LABlab(38.79, 43.87, -74.31)
CIE-LCHlch(38.79, 86.30, 300.56°)
OKLaboklab(49.04% 0.0127 -0.2148)
OKLCHoklch(49.04% 0.215 273.4)
XYZxyz(16.6949, 10.5350, 65.4304)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147D7 #D7D141
analogous
#4192D7 #4147D7 #8641D7
triadic
#4147D7 #D74147 #47D741
tetradic
#4147D7 #D74192 #D7D141 #41D786
square
#4147D7 #D74192 #D7D141 #41D786
split-complementary
#4147D7 #D78641 #92D741
monochromatic
#1B2082 #262CB5 #4147D7 #7478E2 #A6A9EC

Accessibility & contrast

On white

6.76
#4147D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4147D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4147D7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147D7#FFFFFF#000000##FFFFFF
##4147D71.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0054D4
Tritanopia (blue-blind)
#006E89
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4147d7;
/* rgb */ color: rgb(65, 71, 215);
/* oklch */ color: oklch(49.0% 0.215 273.4);
Tailwind
colors: {
  custom: {
    50: '#897be5',
    500: '#4147d7',
    950: '#000000',
  },
}
SCSS
$custom: #4147d7;
$custom-light: #897be5;
$custom-dark: #000000;
JSON
{
  "hex": "#4147d7",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 215
  },
  "hsl": {
    "h": 237.6,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.21513,
    "h": 273.4
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#4147D7
secondary
#D9D79A
accent
#E140E8
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4147D7

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

Preview Lab → · Contrast checker → · Palette generator →

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