#4151D9#4151D9

#4151D9 is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 50.9% C 0.206 H 271.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4151D9
RGBrgb(65, 81, 217)
HSLhsl(234, 67%, 55%)
HSVhsv(234, 70%, 85%)
CMYKcmyk(70%, 62.7%, 0%, 14.9%)
CIE-LABlab(41.24, 38.48, -71.44)
CIE-LCHlch(41.24, 81.14, 298.31°)
OKLaboklab(50.88% 0.0059 -0.2063)
OKLCHoklch(50.88% 0.206 271.6)
XYZxyz(17.6426, 12.0167, 67.0219)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151D9 #D9C941
analogous
#419DD9 #4151D9 #7D41D9
triadic
#4151D9 #D94151 #51D941
tetradic
#4151D9 #D9419D #D9C941 #41D97D
square
#4151D9 #D9419D #D9C941 #41D97D
split-complementary
#4151D9 #D97D41 #9DD941
monochromatic
#1B2685 #2534B8 #4151D9 #7480E3 #A7AEED

Accessibility & contrast

On white

6.17
#4151D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4151D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4151D9#FFFFFF#000000##FFFFFF
##4151D91.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4151d9;
/* rgb */ color: rgb(65, 81, 217);
/* oklch */ color: oklch(50.9% 0.206 271.6);
Tailwind
colors: {
  custom: {
    50: '#8982e6',
    500: '#4151d9',
    950: '#000000',
  },
}
SCSS
$custom: #4151d9;
$custom-light: #8982e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4151d9",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 233.684,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.20636,
    "h": 271.6
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

primary
#4151D9
secondary
#DBD49B
accent
#D83EEA
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4151D9

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

Preview Lab → · Contrast checker → · Palette generator →

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