#4151C1#4151C1

#4151C1 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.9% C 0.175 H 272.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4151C1
RGBrgb(65, 81, 193)
HSLhsl(233, 51%, 51%)
HSVhsv(233, 66%, 76%)
CMYKcmyk(66.3%, 58%, 0%, 24.3%)
CIE-LABlab(39.34, 30.13, -60.68)
CIE-LCHlch(39.34, 67.75, 296.41°)
OKLaboklab(48.88% 0.0064 -0.1747)
OKLCHoklch(48.88% 0.175 272.1)
XYZxyz(14.7448, 10.8576, 51.7604)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151C1 #C1B141
analogous
#4191C1 #4151C1 #7141C1
triadic
#4151C1 #C14151 #51C141
tetradic
#4151C1 #C14191 #C1B141 #41C171
square
#4151C1 #C14191 #C1B141 #41C171
split-complementary
#4151C1 #C17141 #91C141
monochromatic
#212A66 #303D94 #4151C1 #6F7BD0 #9DA6DF

Accessibility & contrast

On white

6.62
#4151C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4151C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151C1
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151C1#FFFFFF#000000##FFFFFF
##4151C11.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0057BF
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4151c1;
/* rgb */ color: rgb(65, 81, 193);
/* oklch */ color: oklch(48.9% 0.175 272.1);
Tailwind
colors: {
  custom: {
    50: '#8481d5',
    500: '#4151c1',
    950: '#000000',
  },
}
SCSS
$custom: #4151c1;
$custom-light: #8481d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4151c1",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 232.5,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48883,
    "c": 0.17482,
    "h": 272.1
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#4151C1
secondary
#CBC492
accent
#C94EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4151C1

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

Preview Lab → · Contrast checker → · Palette generator →

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