#4152D9#4152D9

#4152D9 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.1% C 0.205 H 271.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4152D9
RGBrgb(65, 82, 217)
HSLhsl(233, 67%, 55%)
HSVhsv(233, 70%, 85%)
CMYKcmyk(70%, 62.2%, 0%, 14.9%)
CIE-LABlab(41.48, 37.87, -71.05)
CIE-LCHlch(41.48, 80.51, 298.06°)
OKLaboklab(51.06% 0.0052 -0.2051)
OKLCHoklch(51.06% 0.205 271.5)
XYZxyz(17.7174, 12.1664, 67.0468)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152D9 #D9C841
analogous
#419ED9 #4152D9 #7C41D9
triadic
#4152D9 #D94152 #52D941
tetradic
#4152D9 #D9419E #D9C841 #41D97C
square
#4152D9 #D9419E #D9C841 #41D97C
split-complementary
#4152D9 #D97C41 #9ED941
monochromatic
#1B2785 #2535B8 #4152D9 #7480E3 #A7AFED

Accessibility & contrast

On white

6.12
#4152D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4152D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4152D9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4152D9#FFFFFF#000000##FFFFFF
##4152D91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4152d9;
/* rgb */ color: rgb(65, 82, 217);
/* oklch */ color: oklch(51.1% 0.205 271.5);
Tailwind
colors: {
  custom: {
    50: '#8982e6',
    500: '#4152d9',
    950: '#000000',
  },
}
SCSS
$custom: #4152d9;
$custom-light: #8982e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4152d9",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 233.289,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.20521,
    "h": 271.5
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#4152D9
secondary
#DBD49B
accent
#D63EEA
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4152D9

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

Preview Lab → · Contrast checker → · Palette generator →

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