#4150D4#4150D4

#4150D4 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.3% C 0.201 H 271.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4150D4
RGBrgb(65, 80, 212)
HSLhsl(234, 63%, 54%)
HSVhsv(234, 69%, 83%)
CMYKcmyk(69.3%, 62.3%, 0%, 16.9%)
CIE-LABlab(40.59, 37.38, -69.63)
CIE-LCHlch(40.59, 79.03, 298.23°)
OKLaboklab(50.28% 0.0068 -0.201)
OKLCHoklch(50.28% 0.201 271.9)
XYZxyz(16.9283, 11.6130, 63.6240)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150D4 #D4C541
analogous
#4199D4 #4150D4 #7C41D4
triadic
#4150D4 #D44150 #50D441
tetradic
#4150D4 #D44199 #D4C541 #41D47C
square
#4150D4 #D44199 #D4C541 #41D47C
split-complementary
#4150D4 #D47C41 #99D441
monochromatic
#1D267E #2836B0 #4150D4 #737EDF #A5ACEB

Accessibility & contrast

On white

6.32
#4150D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4150D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150D4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150D4#FFFFFF#000000##FFFFFF
##4150D41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#0059D1
Tritanopia (blue-blind)
#00728A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4150d4;
/* rgb */ color: rgb(65, 80, 212);
/* oklch */ color: oklch(50.3% 0.201 271.9);
Tailwind
colors: {
  custom: {
    50: '#8881e2',
    500: '#4150d4',
    950: '#000000',
  },
}
SCSS
$custom: #4150d4;
$custom-light: #8881e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4150d4",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 212
  },
  "hsl": {
    "h": 233.878,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50279,
    "c": 0.20111,
    "h": 271.9
  },
  "luminance": 0.11615
}

Semantic roles & 50–950 ramp

primary
#4150D4
secondary
#D8D199
accent
#D542E6
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A15
muted
#7E7C84

Preview Lab

Preview with #4150D4

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

Preview Lab → · Contrast checker → · Palette generator →

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