#4150C5#4150C5

#4150C5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.181 H 272.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4150C5
RGBrgb(65, 80, 197)
HSLhsl(233, 53%, 51%)
HSVhsv(233, 67%, 77%)
CMYKcmyk(67%, 59.4%, 0%, 22.7%)
CIE-LABlab(39.40, 32.16, -62.91)
CIE-LCHlch(39.40, 70.66, 297.08°)
OKLaboklab(49.02% 0.0072 -0.1813)
OKLCHoklch(49.02% 0.181 272.3)
XYZxyz(15.1233, 10.8910, 54.1177)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150C5 #C5B641
analogous
#4192C5 #4150C5 #7441C5
triadic
#4150C5 #C54150 #50C541
tetradic
#4150C5 #C54192 #C5B641 #41C574
square
#4150C5 #C54192 #C5B641 #41C574
split-complementary
#4150C5 #C57441 #92C541
monochromatic
#21296B #2F3B9A #4150C5 #707BD3 #9FA6E2

Accessibility & contrast

On white

6.61
#4150C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4150C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150C5
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150C5#FFFFFF#000000##FFFFFF
##4150C51.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0057C3
Tritanopia (blue-blind)
#006D83
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4150c5;
/* rgb */ color: rgb(65, 80, 197);
/* oklch */ color: oklch(49.0% 0.181 272.3);
Tailwind
colors: {
  custom: {
    50: '#8581d7',
    500: '#4150c5',
    950: '#000000',
  },
}
SCSS
$custom: #4150c5;
$custom-light: #8581d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4150c5",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 197
  },
  "hsl": {
    "h": 233.182,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49021,
    "c": 0.18142,
    "h": 272.3
  },
  "luminance": 0.10892
}

Semantic roles & 50–950 ramp

primary
#4150C5
secondary
#CEC794
accent
#CC4BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4150C5

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

Preview Lab → · Contrast checker → · Palette generator →

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