#4147A5#4147A5

#4147A5 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.8% C 0.149 H 275.8°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4147A5
RGBrgb(65, 71, 165)
HSLhsl(236, 43%, 45%)
HSVhsv(236, 61%, 65%)
CMYKcmyk(60.6%, 57%, 0%, 35.3%)
CIE-LABlab(34.69, 26.79, -51.67)
CIE-LCHlch(34.69, 58.20, 297.40°)
OKLaboklab(44.76% 0.0151 -0.1483)
OKLCHoklch(44.76% 0.149 275.8)
XYZxyz(11.2225, 8.3460, 36.6096)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147A5 #A59F41
analogous
#4179A5 #4147A5 #6D41A5
triadic
#4147A5 #A54147 #47A541
tetradic
#4147A5 #A54179 #A59F41 #41A56D
square
#4147A5 #A54179 #A59F41 #41A56D
split-complementary
#4147A5 #A56D41 #79A541
monochromatic
#1E214D #303479 #4147A5 #6268C1 #8E92D2

Accessibility & contrast

On white

7.87
#4147A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4147A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147A5
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147A5#FFFFFF#000000##FFFFFF
##4147A51.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4147a5;
/* rgb */ color: rgb(65, 71, 165);
/* oklch */ color: oklch(44.8% 0.149 275.8);
Tailwind
colors: {
  custom: {
    50: '#807ac0',
    500: '#4147a5',
    950: '#000000',
  },
}
SCSS
$custom: #4147a5;
$custom-light: #807ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#4147a5",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 236.4,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44762,
    "c": 0.14908,
    "h": 275.8
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#4147A5
secondary
#BEBA84
accent
#CC55D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4147A5

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

Preview Lab → · Contrast checker → · Palette generator →

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