#4151A3#4151A3

#4151A3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.6% C 0.133 H 272.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4151A3
RGBrgb(65, 81, 163)
HSLhsl(230, 43%, 45%)
HSVhsv(230, 60%, 64%)
CMYKcmyk(60.1%, 50.3%, 0%, 36.1%)
CIE-LABlab(37.21, 19.59, -46.41)
CIE-LCHlch(37.21, 50.38, 292.88°)
OKLaboklab(46.61% 0.0046 -0.1327)
OKLCHoklch(46.61% 0.133 272)
XYZxyz(11.7311, 9.6521, 35.8881)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151A3 #A39341
analogous
#4182A3 #4151A3 #6241A3
triadic
#4151A3 #A34151 #51A341
tetradic
#4151A3 #A34182 #A39341 #41A362
square
#4151A3 #A34182 #A39341 #41A362
split-complementary
#4151A3 #A36241 #82A341
monochromatic
#1E264B #303B77 #4151A3 #6171C0 #8D98D1

Accessibility & contrast

On white

7.17
#4151A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4151A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4151A3#FFFFFF#000000##FFFFFF
##4151A31.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA6
Deuteranopia (green-blind)
#1353A1
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4151a3;
/* rgb */ color: rgb(65, 81, 163);
/* oklch */ color: oklch(46.6% 0.133 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f81bf',
    500: '#4151a3',
    950: '#000000',
  },
}
SCSS
$custom: #4151a3;
$custom-light: #7f81bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4151a3",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 163
  },
  "hsl": {
    "h": 230.204,
    "s": 42.982,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46609,
    "c": 0.13281,
    "h": 272
  },
  "luminance": 0.09653
}

Semantic roles & 50–950 ramp

primary
#4151A3
secondary
#BDB383
accent
#BE55D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4151A3

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

Preview Lab → · Contrast checker → · Palette generator →

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