#4147A2#4147A2

#4147A2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.145 H 276.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#4147A2
RGBrgb(65, 71, 162)
HSLhsl(236, 43%, 45%)
HSVhsv(236, 60%, 64%)
CMYKcmyk(59.9%, 56.2%, 0%, 36.5%)
CIE-LABlab(34.47, 25.75, -50.23)
CIE-LCHlch(34.47, 56.44, 297.15°)
OKLaboklab(44.53% 0.015 -0.1441)
OKLCHoklch(44.53% 0.145 276)
XYZxyz(10.9527, 8.2381, 35.1884)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147A2 #A29C41
analogous
#4177A2 #4147A2 #6C41A2
triadic
#4147A2 #A24147 #47A241
tetradic
#4147A2 #A24177 #A29C41 #41A26C
square
#4147A2 #A24177 #A29C41 #41A26C
split-complementary
#4147A2 #A26C41 #77A241
monochromatic
#1E214B #2F3476 #4147A2 #6167BF #8C91D1

Accessibility & contrast

On white

7.93
#4147A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4147A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4147A2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4147A2#FFFFFF#000000##FFFFFF
##4147A21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0155A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4147a2;
/* rgb */ color: rgb(65, 71, 162);
/* oklch */ color: oklch(44.5% 0.145 276.0);
Tailwind
colors: {
  custom: {
    50: '#7f7abe',
    500: '#4147a2',
    950: '#000000',
  },
}
SCSS
$custom: #4147a2;
$custom-light: #7f7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#4147a2",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 236.289,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.14484,
    "h": 276
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#4147A2
secondary
#BCB883
accent
#CB55D3
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #4147A2

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

Preview Lab → · Contrast checker → · Palette generator →

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