#4151AC#4151AC

#4151AC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.146 H 272.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4151AC
RGBrgb(65, 81, 172)
HSLhsl(231, 45%, 46%)
HSVhsv(231, 62%, 67%)
CMYKcmyk(62.2%, 52.9%, 0%, 32.5%)
CIE-LABlab(37.82, 22.75, -50.79)
CIE-LCHlch(37.82, 55.65, 294.12°)
OKLaboklab(47.26% 0.0055 -0.1456)
OKLCHoklch(47.26% 0.146 272.1)
XYZxyz(12.5663, 9.9862, 40.2870)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151AC #AC9C41
analogous
#4187AC #4151AC #6741AC
triadic
#4151AC #AC4151 #51AC41
tetradic
#4151AC #AC4187 #AC9C41 #41AC67
square
#4151AC #AC4187 #AC9C41 #41AC67
split-complementary
#4151AC #AC6741 #87AC41
monochromatic
#1F2753 #303C80 #4151AC #6574C5 #929CD6

Accessibility & contrast

On white

7.01
#4151AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4151AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4151AC#FFFFFF#000000##FFFFFF
##4151AC1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5EAF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4151ac;
/* rgb */ color: rgb(65, 81, 172);
/* oklch */ color: oklch(47.3% 0.146 272.1);
Tailwind
colors: {
  custom: {
    50: '#8081c5',
    500: '#4151ac',
    950: '#000000',
  },
}
SCSS
$custom: #4151ac;
$custom-light: #8081c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4151ac",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 231.028,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47261,
    "c": 0.14572,
    "h": 272.1
  },
  "luminance": 0.09987
}

Semantic roles & 50–950 ramp

primary
#4151AC
secondary
#C1B888
accent
#C153D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4151AC

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

Preview Lab → · Contrast checker → · Palette generator →

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