#4150C2#4150C2

#4150C2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.177 H 272.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4150C2
RGBrgb(65, 80, 194)
HSLhsl(233, 51%, 51%)
HSVhsv(233, 66%, 76%)
CMYKcmyk(66.5%, 58.8%, 0%, 23.9%)
CIE-LABlab(39.16, 31.11, -61.55)
CIE-LCHlch(39.16, 68.96, 296.82°)
OKLaboklab(48.78% 0.0072 -0.1773)
OKLCHoklch(48.78% 0.177 272.3)
XYZxyz(14.7830, 10.7548, 52.3253)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150C2 #C2B341
analogous
#4190C2 #4150C2 #7241C2
triadic
#4150C2 #C24150 #50C241
tetradic
#4150C2 #C24190 #C2B341 #41C272
square
#4150C2 #C24190 #C2B341 #41C272
split-complementary
#4150C2 #C27241 #90C241
monochromatic
#212967 #303C96 #4150C2 #6F7BD1 #9EA5E0

Accessibility & contrast

On white

6.66
#4150C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4150C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150C2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150C2#FFFFFF#000000##FFFFFF
##4150C21.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4150c2;
/* rgb */ color: rgb(65, 80, 194);
/* oklch */ color: oklch(48.8% 0.177 272.3);
Tailwind
colors: {
  custom: {
    50: '#8481d5',
    500: '#4150c2',
    950: '#000000',
  },
}
SCSS
$custom: #4150c2;
$custom-light: #8481d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4150c2",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 194
  },
  "hsl": {
    "h": 233.023,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48776,
    "c": 0.17741,
    "h": 272.3
  },
  "luminance": 0.10756
}

Semantic roles & 50–950 ramp

primary
#4150C2
secondary
#CCC593
accent
#CA4DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4150C2

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

Preview Lab → · Contrast checker → · Palette generator →

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