#4147D6#4147D6

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

Color values

HEX#4147D6
RGBrgb(65, 71, 214)
HSLhsl(238, 65%, 55%)
HSVhsv(238, 70%, 84%)
CMYKcmyk(69.6%, 66.8%, 0%, 16.1%)
CIE-LABlab(38.70, 43.54, -73.89)
CIE-LCHlch(38.70, 85.76, 300.51°)
OKLaboklab(48.95% 0.0128 -0.2135)
OKLCHoklch(48.95% 0.214 273.4)
XYZxyz(16.5668, 10.4837, 64.7558)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147D6 #D6D041
analogous
#4192D6 #4147D6 #8641D6
triadic
#4147D6 #D64147 #47D641
tetradic
#4147D6 #D64192 #D6D041 #41D686
square
#4147D6 #D64192 #D6D041 #41D686
split-complementary
#4147D6 #D68641 #92D641
monochromatic
#1C2081 #272CB3 #4147D6 #7378E1 #A6A8EC

Accessibility & contrast

On white

6.78
#4147D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4147D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4147D6
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147D6#FFFFFF#000000##FFFFFF
##4147D61.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DA
Deuteranopia (green-blind)
#0054D3
Tritanopia (blue-blind)
#006D88
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4147d6;
/* rgb */ color: rgb(65, 71, 214);
/* oklch */ color: oklch(48.9% 0.214 273.4);
Tailwind
colors: {
  custom: {
    50: '#897be4',
    500: '#4147d6',
    950: '#000000',
  },
}
SCSS
$custom: #4147d6;
$custom-light: #897be4;
$custom-dark: #000000;
JSON
{
  "hex": "#4147d6",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 237.584,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.21389,
    "h": 273.4
  },
  "luminance": 0.10485
}

Semantic roles & 50–950 ramp

primary
#4147D6
secondary
#D9D69A
accent
#E140E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4147D6

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

Preview Lab → · Contrast checker → · Palette generator →

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