#4147D4#4147D4

#4147D4 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.8% C 0.211 H 273.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4147D4
RGBrgb(65, 71, 212)
HSLhsl(238, 63%, 54%)
HSVhsv(238, 69%, 83%)
CMYKcmyk(69.3%, 66.5%, 0%, 16.9%)
CIE-LABlab(38.52, 42.87, -73.03)
CIE-LCHlch(38.52, 84.68, 300.41°)
OKLaboklab(48.76% 0.013 -0.211)
OKLCHoklch(48.76% 0.211 273.5)
XYZxyz(16.3129, 10.3822, 63.4189)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147D4 #D4CE41
analogous
#4191D4 #4147D4 #8541D4
triadic
#4147D4 #D44147 #47D441
tetradic
#4147D4 #D44191 #D4CE41 #41D485
square
#4147D4 #D44191 #D4CE41 #41D485
split-complementary
#4147D4 #D48541 #91D441
monochromatic
#1D217E #282DB0 #4147D4 #7377DF #A5A8EB

Accessibility & contrast

On white

6.83
#4147D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4147D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4147D4
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147D4#FFFFFF#000000##FFFFFF
##4147D41.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0054D1
Tritanopia (blue-blind)
#006D87
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4147d4;
/* rgb */ color: rgb(65, 71, 212);
/* oklch */ color: oklch(48.8% 0.211 273.5);
Tailwind
colors: {
  custom: {
    50: '#897be2',
    500: '#4147d4',
    950: '#000000',
  },
}
SCSS
$custom: #4147d4;
$custom-light: #897be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4147d4",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 237.551,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.48763,
    "c": 0.21139,
    "h": 273.5
  },
  "luminance": 0.10384
}

Semantic roles & 50–950 ramp

primary
#4147D4
secondary
#D8D599
accent
#DF42E6
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #4147D4

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

Preview Lab → · Contrast checker → · Palette generator →

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