#4150C3#4150C3

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

Color values

HEX#4150C3
RGBrgb(65, 80, 195)
HSLhsl(233, 52%, 51%)
HSVhsv(233, 67%, 76%)
CMYKcmyk(66.7%, 59%, 0%, 23.5%)
CIE-LABlab(39.24, 31.46, -62.00)
CIE-LCHlch(39.24, 69.53, 296.91°)
OKLaboklab(48.86% 0.0072 -0.1786)
OKLCHoklch(48.86% 0.179 272.3)
XYZxyz(14.8957, 10.7999, 52.9188)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150C3 #C3B441
analogous
#4191C3 #4150C3 #7341C3
triadic
#4150C3 #C34150 #50C341
tetradic
#4150C3 #C34191 #C3B441 #41C373
square
#4150C3 #C34191 #C3B441 #41C373
split-complementary
#4150C3 #C37341 #91C341
monochromatic
#212969 #303C97 #4150C3 #707BD2 #9EA6E0

Accessibility & contrast

On white

6.65
#4150C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4150C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150C3
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150C3#FFFFFF#000000##FFFFFF
##4150C31.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4150c3;
/* rgb */ color: rgb(65, 80, 195);
/* oklch */ color: oklch(48.9% 0.179 272.3);
Tailwind
colors: {
  custom: {
    50: '#8581d6',
    500: '#4150c3',
    950: '#000000',
  },
}
SCSS
$custom: #4150c3;
$custom-light: #8581d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4150c3",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 195
  },
  "hsl": {
    "h": 233.077,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48858,
    "c": 0.17875,
    "h": 272.3
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4150C3

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

Preview Lab → · Contrast checker → · Palette generator →

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