#4147C8#4147C8

#4147C8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.196 H 274.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4147C8
RGBrgb(65, 71, 200)
HSLhsl(237, 55%, 52%)
HSVhsv(237, 68%, 78%)
CMYKcmyk(67.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(37.48, 38.81, -67.79)
CIE-LCHlch(37.48, 78.11, 299.79°)
OKLaboklab(47.69% 0.014 -0.1956)
OKLCHoklch(47.69% 0.196 274.1)
XYZxyz(14.8551, 9.7991, 55.7409)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147C8 #C8C241
analogous
#418BC8 #4147C8 #7E41C8
triadic
#4147C8 #C84147 #47C841
tetradic
#4147C8 #C8418B #C8C241 #41C87E
square
#4147C8 #C8418B #C8C241 #41C87E
split-complementary
#4147C8 #C87E41 #8BC841
monochromatic
#20246F #2E339E #4147C8 #7075D6 #A0A3E3

Accessibility & contrast

On white

7.09
#4147C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4147C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147C8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147C8#FFFFFF#000000##FFFFFF
##4147C81.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0052C6
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4147c8;
/* rgb */ color: rgb(65, 71, 200);
/* oklch */ color: oklch(47.7% 0.196 274.1);
Tailwind
colors: {
  custom: {
    50: '#867ada',
    500: '#4147c8',
    950: '#000000',
  },
}
SCSS
$custom: #4147c8;
$custom-light: #867ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4147c8",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 237.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47686,
    "c": 0.19615,
    "h": 274.1
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#4147C8
secondary
#D0CD95
accent
#D849DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #4147C8

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

Preview Lab → · Contrast checker → · Palette generator →

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