#4147C0#4147C0

#4147C0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.186 H 274.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4147C0
RGBrgb(65, 71, 192)
HSLhsl(237, 50%, 50%)
HSVhsv(237, 66%, 75%)
CMYKcmyk(66.1%, 63%, 0%, 24.7%)
CIE-LABlab(36.81, 36.09, -64.22)
CIE-LCHlch(36.81, 73.66, 299.33°)
OKLaboklab(46.99% 0.0146 -0.1852)
OKLCHoklch(46.99% 0.186 274.5)
XYZxyz(13.9445, 9.4348, 50.9452)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147C0 #C0BA41
analogous
#4187C0 #4147C0 #7A41C0
triadic
#4147C0 #C04147 #47C041
tetradic
#4147C0 #C04187 #C0BA41 #41C07A
square
#4147C0 #C04187 #C0BA41 #41C07A
split-complementary
#4147C0 #C07A41 #87C041
monochromatic
#222565 #313593 #4147C0 #6F74CF #9DA0DE

Accessibility & contrast

On white

7.27
#4147C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4147C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147C0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147C0#FFFFFF#000000##FFFFFF
##4147C01.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0051BE
Tritanopia (blue-blind)
#00667D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4147c0;
/* rgb */ color: rgb(65, 71, 192);
/* oklch */ color: oklch(47.0% 0.186 274.5);
Tailwind
colors: {
  custom: {
    50: '#857ad4',
    500: '#4147c0',
    950: '#000000',
  },
}
SCSS
$custom: #4147c0;
$custom-light: #857ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4147c0",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 192
  },
  "hsl": {
    "h": 237.165,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.46987,
    "c": 0.18575,
    "h": 274.5
  },
  "luminance": 0.09436
}

Semantic roles & 50–950 ramp

primary
#4147C0
secondary
#CBC892
accent
#D34EDA
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #4147C0

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

Preview Lab → · Contrast checker → · Palette generator →

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