#4150D9#4150D9

#4150D9 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.7% C 0.208 H 271.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#4150D9
RGBrgb(65, 80, 217)
HSLhsl(234, 67%, 55%)
HSVhsv(234, 70%, 85%)
CMYKcmyk(70%, 63.1%, 0%, 14.9%)
CIE-LABlab(41.01, 39.10, -71.82)
CIE-LCHlch(41.01, 81.77, 298.56°)
OKLaboklab(50.71% 0.0066 -0.2074)
OKLCHoklch(50.71% 0.208 271.8)
XYZxyz(17.5688, 11.8692, 66.9973)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150D9 #D9CA41
analogous
#419CD9 #4150D9 #7E41D9
triadic
#4150D9 #D94150 #50D941
tetradic
#4150D9 #D9419C #D9CA41 #41D97E
square
#4150D9 #D9419C #D9CA41 #41D97E
split-complementary
#4150D9 #D97E41 #9CD941
monochromatic
#1B2585 #2533B8 #4150D9 #747FE3 #A7AEED

Accessibility & contrast

On white

6.22
#4150D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4150D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150D9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150D9#FFFFFF#000000##FFFFFF
##4150D91.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#00738D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4150d9;
/* rgb */ color: rgb(65, 80, 217);
/* oklch */ color: oklch(50.7% 0.208 271.8);
Tailwind
colors: {
  custom: {
    50: '#8981e6',
    500: '#4150d9',
    950: '#000000',
  },
}
SCSS
$custom: #4150d9;
$custom-light: #8981e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4150d9",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 217
  },
  "hsl": {
    "h": 234.079,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.20752,
    "h": 271.8
  },
  "luminance": 0.11871
}

Semantic roles & 50–950 ramp

primary
#4150D9
secondary
#DBD49B
accent
#D93EEA
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4150D9

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

Preview Lab → · Contrast checker → · Palette generator →

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