#4151AA#4151AA

#4151AA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.1% C 0.143 H 272.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4151AA
RGBrgb(65, 81, 170)
HSLhsl(231, 45%, 46%)
HSVhsv(231, 62%, 67%)
CMYKcmyk(61.8%, 52.4%, 0%, 33.3%)
CIE-LABlab(37.68, 22.04, -49.83)
CIE-LCHlch(37.68, 54.48, 293.86°)
OKLaboklab(47.11% 0.0053 -0.1428)
OKLCHoklch(47.11% 0.143 272.1)
XYZxyz(12.3757, 9.9099, 39.2831)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151AA #AA9A41
analogous
#4185AA #4151AA #6541AA
triadic
#4151AA #AA4151 #51AA41
tetradic
#4151AA #AA4185 #AA9A41 #41AA65
square
#4151AA #AA4185 #AA9A41 #41AA65
split-complementary
#4151AA #AA6541 #85AA41
monochromatic
#1F2751 #303C7E #4151AA #6473C4 #919BD5

Accessibility & contrast

On white

7.04
#4151AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4151AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4151AA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151AA#FFFFFF#000000##FFFFFF
##4151AA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5DAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4151aa;
/* rgb */ color: rgb(65, 81, 170);
/* oklch */ color: oklch(47.1% 0.143 272.1);
Tailwind
colors: {
  custom: {
    50: '#8081c4',
    500: '#4151aa',
    950: '#000000',
  },
}
SCSS
$custom: #4151aa;
$custom-light: #8081c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4151aa",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 230.857,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47114,
    "c": 0.14288,
    "h": 272.1
  },
  "luminance": 0.09911
}

Semantic roles & 50–950 ramp

primary
#4151AA
secondary
#C0B787
accent
#C153D4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4151AA

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

Preview Lab → · Contrast checker → · Palette generator →

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