#4151C3#4151C3

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

Color values

HEX#4151C3
RGBrgb(65, 81, 195)
HSLhsl(233, 52%, 51%)
HSVhsv(233, 67%, 76%)
CMYKcmyk(66.7%, 58.5%, 0%, 23.5%)
CIE-LABlab(39.49, 30.83, -61.60)
CIE-LCHlch(39.49, 68.88, 296.59°)
OKLaboklab(49.04% 0.0064 -0.1774)
OKLCHoklch(49.04% 0.178 272.1)
XYZxyz(14.9694, 10.9474, 52.9434)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151C3 #C3B341
analogous
#4192C3 #4151C3 #7241C3
triadic
#4151C3 #C34151 #51C341
tetradic
#4151C3 #C34192 #C3B341 #41C372
square
#4151C3 #C34192 #C3B341 #41C372
split-complementary
#4151C3 #C37241 #92C341
monochromatic
#212A69 #303C97 #4151C3 #707CD2 #9EA6E0

Accessibility & contrast

On white

6.58
#4151C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4151C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151C3
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151C3#FFFFFF#000000##FFFFFF
##4151C31.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4151c3;
/* rgb */ color: rgb(65, 81, 195);
/* oklch */ color: oklch(49.0% 0.177 272.1);
Tailwind
colors: {
  custom: {
    50: '#8581d6',
    500: '#4151c3',
    950: '#000000',
  },
}
SCSS
$custom: #4151c3;
$custom-light: #8581d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4151c3",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 195
  },
  "hsl": {
    "h": 232.615,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49044,
    "c": 0.1775,
    "h": 272.1
  },
  "luminance": 0.10949
}

Semantic roles & 50–950 ramp

primary
#4151C3
secondary
#CDC693
accent
#CA4CDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4151C3

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

Preview Lab → · Contrast checker → · Palette generator →

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