#4151C0#4151C0

#4151C0 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.173 H 272.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4151C0
RGBrgb(65, 81, 192)
HSLhsl(232, 50%, 50%)
HSVhsv(232, 66%, 75%)
CMYKcmyk(66.1%, 57.8%, 0%, 24.7%)
CIE-LABlab(39.26, 29.78, -60.22)
CIE-LCHlch(39.26, 67.18, 296.31°)
OKLaboklab(48.8% 0.0063 -0.1733)
OKLCHoklch(48.8% 0.173 272.1)
XYZxyz(14.6336, 10.8131, 51.1749)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151C0 #C0B041
analogous
#4190C0 #4151C0 #7041C0
triadic
#4151C0 #C04151 #51C041
tetradic
#4151C0 #C04190 #C0B041 #41C070
square
#4151C0 #C04190 #C0B041 #41C070
split-complementary
#4151C0 #C07041 #90C041
monochromatic
#222A65 #313D93 #4151C0 #6F7BCF #9DA5DE

Accessibility & contrast

On white

6.64
#4151C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4151C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151C0
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151C0#FFFFFF#000000##FFFFFF
##4151C01.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#0057BE
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4151c0;
/* rgb */ color: rgb(65, 81, 192);
/* oklch */ color: oklch(48.8% 0.173 272.1);
Tailwind
colors: {
  custom: {
    50: '#8481d4',
    500: '#4151c0',
    950: '#000000',
  },
}
SCSS
$custom: #4151c0;
$custom-light: #8481d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4151c0",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 232.441,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.17346,
    "h": 272.1
  },
  "luminance": 0.10814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4151C0

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

Preview Lab → · Contrast checker → · Palette generator →

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