#4147AF#4147AF

#4147AF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.163 H 275.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#4147AF
RGBrgb(65, 71, 175)
HSLhsl(237, 46%, 47%)
HSVhsv(237, 63%, 69%)
CMYKcmyk(62.9%, 59.4%, 0%, 31.4%)
CIE-LABlab(35.45, 30.24, -56.41)
CIE-LCHlch(35.45, 64.01, 298.20°)
OKLaboklab(45.56% 0.0152 -0.1622)
OKLCHoklch(45.56% 0.163 275.3)
XYZxyz(12.1685, 8.7245, 41.5919)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147AF #AFA941
analogous
#417EAF #4147AF #7241AF
triadic
#4147AF #AF4147 #47AF41
tetradic
#4147AF #AF417E #AFA941 #41AF72
square
#4147AF #AF417E #AFA941 #41AF72
split-complementary
#4147AF #AF7241 #7EAF41
monochromatic
#202356 #303582 #4147AF #676CC6 #9397D7

Accessibility & contrast

On white

7.65
#4147AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4147AF
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147AF#FFFFFF#000000##FFFFFF
##4147AF1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4147af;
/* rgb */ color: rgb(65, 71, 175);
/* oklch */ color: oklch(45.6% 0.163 275.3);
Tailwind
colors: {
  custom: {
    50: '#817ac8',
    500: '#4147af',
    950: '#000000',
  },
}
SCSS
$custom: #4147af;
$custom-light: #817ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#4147af",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 236.727,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.16296,
    "h": 275.3
  },
  "luminance": 0.08725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4147AF

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

Preview Lab → · Contrast checker → · Palette generator →

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