#4150C8#4150C8

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

Color values

HEX#4150C8
RGBrgb(65, 80, 200)
HSLhsl(233, 55%, 52%)
HSVhsv(233, 68%, 78%)
CMYKcmyk(67.5%, 60%, 0%, 21.6%)
CIE-LABlab(39.63, 33.21, -64.27)
CIE-LCHlch(39.63, 72.35, 297.33°)
OKLaboklab(49.27% 0.0072 -0.1853)
OKLCHoklch(49.27% 0.185 272.2)
XYZxyz(15.4705, 11.0298, 55.9461)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150C8 #C8B941
analogous
#4194C8 #4150C8 #7541C8
triadic
#4150C8 #C84150 #50C841
tetradic
#4150C8 #C84194 #C8B941 #41C875
square
#4150C8 #C84194 #C8B941 #41C875
split-complementary
#4150C8 #C87541 #94C841
monochromatic
#20296F #2E3A9E #4150C8 #707CD6 #A0A7E3

Accessibility & contrast

On white

6.55
#4150C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4150C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150C8
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150C8#FFFFFF#000000##FFFFFF
##4150C81.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4150c8;
/* rgb */ color: rgb(65, 80, 200);
/* oklch */ color: oklch(49.3% 0.185 272.2);
Tailwind
colors: {
  custom: {
    50: '#8681da',
    500: '#4150c8',
    950: '#000000',
  },
}
SCSS
$custom: #4150c8;
$custom-light: #8681da;
$custom-dark: #000000;
JSON
{
  "hex": "#4150c8",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 233.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49268,
    "c": 0.18542,
    "h": 272.2
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#4150C8
secondary
#D0C995
accent
#CE49DE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4150C8

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

Preview Lab → · Contrast checker → · Palette generator →

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