#4147D2#4147D2

#4147D2 is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.6% C 0.209 H 273.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4147D2
RGBrgb(65, 71, 210)
HSLhsl(238, 62%, 54%)
HSVhsv(238, 69%, 82%)
CMYKcmyk(69%, 66.2%, 0%, 17.6%)
CIE-LABlab(38.34, 42.19, -72.16)
CIE-LCHlch(38.34, 83.59, 300.32°)
OKLaboklab(48.58% 0.0132 -0.2085)
OKLCHoklch(48.58% 0.209 273.6)
XYZxyz(16.0622, 10.2819, 62.0984)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147D2 #D2CC41
analogous
#4190D2 #4147D2 #8441D2
triadic
#4147D2 #D24147 #47D241
tetradic
#4147D2 #D24190 #D2CC41 #41D284
square
#4147D2 #D24190 #D2CC41 #41D284
split-complementary
#4147D2 #D28441 #90D241
monochromatic
#1D217B #292EAD #4147D2 #7277DE #A4A7E9

Accessibility & contrast

On white

6.87
#4147D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4147D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4147D2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147D2#FFFFFF#000000##FFFFFF
##4147D21.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0054CF
Tritanopia (blue-blind)
#006C86
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4147d2;
/* rgb */ color: rgb(65, 71, 210);
/* oklch */ color: oklch(48.6% 0.209 273.6);
Tailwind
colors: {
  custom: {
    50: '#887be1',
    500: '#4147d2',
    950: '#000000',
  },
}
SCSS
$custom: #4147d2;
$custom-light: #887be1;
$custom-dark: #000000;
JSON
{
  "hex": "#4147d2",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 237.517,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48581,
    "c": 0.20888,
    "h": 273.6
  },
  "luminance": 0.10283
}

Semantic roles & 50–950 ramp

primary
#4147D2
secondary
#D6D498
accent
#DE43E5
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4147D2

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

Preview Lab → · Contrast checker → · Palette generator →

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