#4147AA#4147AA

#4147AA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.156 H 275.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#4147AA
RGBrgb(65, 71, 170)
HSLhsl(237, 45%, 46%)
HSVhsv(237, 62%, 67%)
CMYKcmyk(61.8%, 58.2%, 0%, 33.3%)
CIE-LABlab(35.07, 28.51, -54.05)
CIE-LCHlch(35.07, 61.11, 297.81°)
OKLaboklab(45.16% 0.0152 -0.1553)
OKLCHoklch(45.16% 0.156 275.6)
XYZxyz(11.6865, 8.5317, 39.0533)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4147AA #AAA441
analogous
#417BAA #4147AA #6F41AA
triadic
#4147AA #AA4147 #47AA41
tetradic
#4147AA #AA417B #AAA441 #41AA6F
square
#4147AA #AA417B #AAA441 #41AA6F
split-complementary
#4147AA #AA6F41 #7BAA41
monochromatic
#1F2251 #30357E #4147AA #646AC4 #9195D5

Accessibility & contrast

On white

7.76
#4147AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4147AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4147AA#FFFFFF#000000##FFFFFF
##4147AA1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4147aa;
/* rgb */ color: rgb(65, 71, 170);
/* oklch */ color: oklch(45.2% 0.156 275.6);
Tailwind
colors: {
  custom: {
    50: '#807ac4',
    500: '#4147aa',
    950: '#000000',
  },
}
SCSS
$custom: #4147aa;
$custom-light: #807ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4147aa",
  "rgb": {
    "r": 65,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 236.571,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45157,
    "c": 0.15607,
    "h": 275.6
  },
  "luminance": 0.08533
}

Semantic roles & 50–950 ramp

primary
#4147AA
secondary
#C0BD87
accent
#CD53D4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4147AA

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

Preview Lab → · Contrast checker → · Palette generator →

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