#4151D5#4151D5

#4151D5 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 50.5% C 0.201 H 271.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4151D5
RGBrgb(65, 81, 213)
HSLhsl(234, 64%, 55%)
HSVhsv(234, 69%, 84%)
CMYKcmyk(69.5%, 62%, 0%, 16.5%)
CIE-LABlab(40.91, 37.10, -69.68)
CIE-LCHlch(40.91, 78.94, 298.03°)
OKLaboklab(50.54% 0.0061 -0.2011)
OKLCHoklch(50.54% 0.201 271.7)
XYZxyz(17.1286, 11.8111, 64.3150)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151D5 #D5C541
analogous
#419BD5 #4151D5 #7B41D5
triadic
#4151D5 #D54151 #51D541
tetradic
#4151D5 #D5419B #D5C541 #41D57B
square
#4151D5 #D5419B #D5C541 #41D57B
split-complementary
#4151D5 #D57B41 #9BD541
monochromatic
#1C277F #2736B2 #4151D5 #737FE0 #A5ADEB

Accessibility & contrast

On white

6.25
#4151D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4151D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4151D5#FFFFFF#000000##FFFFFF
##4151D51.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#00738B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4151d5;
/* rgb */ color: rgb(65, 81, 213);
/* oklch */ color: oklch(50.5% 0.201 271.7);
Tailwind
colors: {
  custom: {
    50: '#8882e3',
    500: '#4151d5',
    950: '#000000',
  },
}
SCSS
$custom: #4151d5;
$custom-light: #8882e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4151d5",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 233.514,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5054,
    "c": 0.20122,
    "h": 271.7
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#4151D5
secondary
#D8D19A
accent
#D541E7
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4151D5

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

Preview Lab → · Contrast checker → · Palette generator →

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