#4150C7#4150C7

#4150C7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.184 H 272.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4150C7
RGBrgb(65, 80, 199)
HSLhsl(233, 54%, 52%)
HSVhsv(233, 67%, 78%)
CMYKcmyk(67.3%, 59.8%, 0%, 22%)
CIE-LABlab(39.55, 32.86, -63.82)
CIE-LCHlch(39.55, 71.79, 297.24°)
OKLaboklab(49.19% 0.0072 -0.1839)
OKLCHoklch(49.19% 0.184 272.2)
XYZxyz(15.3540, 10.9832, 55.3326)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150C7 #C7B841
analogous
#4193C7 #4150C7 #7541C7
triadic
#4150C7 #C74150 #50C741
tetradic
#4150C7 #C74193 #C7B841 #41C775
square
#4150C7 #C74193 #C7B841 #41C775
split-complementary
#4150C7 #C77541 #93C741
monochromatic
#20296D #2E3B9D #4150C7 #707CD5 #A0A7E3

Accessibility & contrast

On white

6.57
#4150C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4150C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150C7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150C7#FFFFFF#000000##FFFFFF
##4150C71.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4150c7;
/* rgb */ color: rgb(65, 80, 199);
/* oklch */ color: oklch(49.2% 0.184 272.2);
Tailwind
colors: {
  custom: {
    50: '#8581d9',
    500: '#4150c7',
    950: '#000000',
  },
}
SCSS
$custom: #4150c7;
$custom-light: #8581d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4150c7",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 199
  },
  "hsl": {
    "h": 233.284,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49185,
    "c": 0.18409,
    "h": 272.2
  },
  "luminance": 0.10985
}

Semantic roles & 50–950 ramp

primary
#4150C7
secondary
#CFC995
accent
#CD4ADE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4150C7

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

Preview Lab → · Contrast checker → · Palette generator →

#4150C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva