#4151AE#4151AE

#4151AE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.149 H 272.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4151AE
RGBrgb(65, 81, 174)
HSLhsl(231, 46%, 47%)
HSVhsv(231, 63%, 68%)
CMYKcmyk(62.6%, 53.4%, 0%, 31.8%)
CIE-LABlab(37.96, 23.45, -51.75)
CIE-LCHlch(37.96, 56.82, 294.37°)
OKLaboklab(47.41% 0.0056 -0.1484)
OKLCHoklch(47.41% 0.149 272.2)
XYZxyz(12.7598, 10.0636, 41.3062)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151AE #AE9E41
analogous
#4188AE #4151AE #6841AE
triadic
#4151AE #AE4151 #51AE41
tetradic
#4151AE #AE4188 #AE9E41 #41AE68
square
#4151AE #AE4188 #AE9E41 #41AE68
split-complementary
#4151AE #AE6841 #88AE41
monochromatic
#202855 #303C81 #4151AE #6674C6 #939DD7

Accessibility & contrast

On white

6.97
#4151AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4151AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4151AE#FFFFFF#000000##FFFFFF
##4151AE1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165EB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4151ae;
/* rgb */ color: rgb(65, 81, 174);
/* oklch */ color: oklch(47.4% 0.149 272.2);
Tailwind
colors: {
  custom: {
    50: '#8181c7',
    500: '#4151ae',
    950: '#000000',
  },
}
SCSS
$custom: #4151ae;
$custom-light: #8181c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4151ae",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 231.193,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4741,
    "c": 0.14856,
    "h": 272.2
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#4151AE
secondary
#C2BA89
accent
#C253D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4151AE

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

Preview Lab → · Contrast checker → · Palette generator →

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