#4150E0#4150E0

#4150E0 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.3% C 0.216 H 271.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4150E0
RGBrgb(65, 80, 224)
HSLhsl(234, 72%, 57%)
HSVhsv(234, 71%, 88%)
CMYKcmyk(71%, 64.3%, 0%, 12.2%)
CIE-LABlab(41.60, 41.50, -74.85)
CIE-LCHlch(41.60, 85.59, 299.00°)
OKLaboklab(51.32% 0.0062 -0.2163)
OKLCHoklch(51.32% 0.216 271.6)
XYZxyz(18.4986, 12.2411, 71.8944)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150E0 #E0D141
analogous
#419FE0 #4150E0 #8241E0
triadic
#4150E0 #E04150 #50E041
tetradic
#4150E0 #E0419F #E0D141 #41E082
square
#4150E0 #E0419F #E0D141 #41E082
split-complementary
#4150E0 #E08241 #9FE041
monochromatic
#17238F #202FC4 #4150E0 #7680E9 #AAB1F1

Accessibility & contrast

On white

6.09
#4150E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4150E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150E0
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150E0#FFFFFF#000000##FFFFFF
##4150E01.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#005BDD
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4150e0;
/* rgb */ color: rgb(65, 80, 224);
/* oklch */ color: oklch(51.3% 0.216 271.6);
Tailwind
colors: {
  custom: {
    50: '#8b81eb',
    500: '#4150e0',
    950: '#000000',
  },
}
SCSS
$custom: #4150e0;
$custom-light: #8b81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4150e0",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 224
  },
  "hsl": {
    "h": 234.34,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51324,
    "c": 0.21639,
    "h": 271.6
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#4150E0
secondary
#DFD99E
accent
#DE39EF
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4150E0

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

Preview Lab → · Contrast checker → · Palette generator →

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