#4150C1#4150C1

#4150C1 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.7% C 0.176 H 272.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4150C1
RGBrgb(65, 80, 193)
HSLhsl(233, 51%, 51%)
HSVhsv(233, 66%, 76%)
CMYKcmyk(66.3%, 58.5%, 0%, 24.3%)
CIE-LABlab(39.09, 30.76, -61.09)
CIE-LCHlch(39.09, 68.40, 296.73°)
OKLaboklab(48.7% 0.0072 -0.1759)
OKLCHoklch(48.7% 0.176 272.3)
XYZxyz(14.6710, 10.7101, 51.7358)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150C1 #C1B241
analogous
#4190C1 #4150C1 #7241C1
triadic
#4150C1 #C14150 #50C141
tetradic
#4150C1 #C14190 #C1B241 #41C172
square
#4150C1 #C14190 #C1B241 #41C172
split-complementary
#4150C1 #C17241 #90C141
monochromatic
#212966 #303C94 #4150C1 #6F7AD0 #9DA5DF

Accessibility & contrast

On white

6.68
#4150C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4150C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150C1
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150C1#FFFFFF#000000##FFFFFF
##4150C11.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4150c1;
/* rgb */ color: rgb(65, 80, 193);
/* oklch */ color: oklch(48.7% 0.176 272.3);
Tailwind
colors: {
  custom: {
    50: '#8481d5',
    500: '#4150c1',
    950: '#000000',
  },
}
SCSS
$custom: #4150c1;
$custom-light: #8481d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4150c1",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 193
  },
  "hsl": {
    "h": 232.969,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48695,
    "c": 0.17606,
    "h": 272.3
  },
  "luminance": 0.10711
}

Semantic roles & 50–950 ramp

primary
#4150C1
secondary
#CBC592
accent
#CA4EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4150C1

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

Preview Lab → · Contrast checker → · Palette generator →

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