#4147AE#4147AE

#4147AE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.162 H 275.4°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4147AE
RGBrgb(65, 71, 174)
HSLhsl(237, 46%, 47%)
HSVhsv(237, 63%, 68%)
CMYKcmyk(62.6%, 59.2%, 0%, 31.8%)
CIE-LABlab(35.37, 29.90, -55.94)
CIE-LCHlch(35.37, 63.43, 298.12°)
OKLaboklab(45.48% 0.0152 -0.1609)
OKLCHoklch(45.48% 0.162 275.4)
XYZxyz(12.0707, 8.6853, 41.0765)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147AE #AEA841
analogous
#417EAE #4147AE #7241AE
triadic
#4147AE #AE4147 #47AE41
tetradic
#4147AE #AE417E #AEA841 #41AE72
square
#4147AE #AE417E #AEA841 #41AE72
split-complementary
#4147AE #AE7241 #7EAE41
monochromatic
#202355 #303581 #4147AE #666CC6 #9397D7

Accessibility & contrast

On white

7.67
#4147AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4147AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147AE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147AE#FFFFFF#000000##FFFFFF
##4147AE1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4147ae;
/* rgb */ color: rgb(65, 71, 174);
/* oklch */ color: oklch(45.5% 0.162 275.4);
Tailwind
colors: {
  custom: {
    50: '#817ac7',
    500: '#4147ae',
    950: '#000000',
  },
}
SCSS
$custom: #4147ae;
$custom-light: #817ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#4147ae",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 236.697,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45479,
    "c": 0.1616,
    "h": 275.4
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#4147AE
secondary
#C2BF89
accent
#CE53D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4147AE

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

Preview Lab → · Contrast checker → · Palette generator →

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