#4152B9#4152B9

#4152B9 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.163 H 271.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#4152B9
RGBrgb(65, 82, 185)
HSLhsl(232, 48%, 49%)
HSVhsv(232, 65%, 73%)
CMYKcmyk(64.9%, 55.7%, 0%, 27.5%)
CIE-LABlab(39.00, 26.68, -56.55)
CIE-LCHlch(39.00, 62.52, 295.25°)
OKLaboklab(48.44% 0.0053 -0.1625)
OKLCHoklch(48.44% 0.163 271.9)
XYZxyz(13.9513, 10.6600, 47.2119)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152B9 #B9A841
analogous
#418EB9 #4152B9 #6C41B9
triadic
#4152B9 #B94152 #52B941
tetradic
#4152B9 #B9418E #B9A841 #41B96C
square
#4152B9 #B9418E #B9A841 #41B96C
split-complementary
#4152B9 #B96C41 #8EB941
monochromatic
#212A5E #313E8C #4152B9 #6C79CB #99A3DB

Accessibility & contrast

On white

6.70
#4152B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4152B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4152B9
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4152B9#FFFFFF#000000##FFFFFF
##4152B91.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4152b9;
/* rgb */ color: rgb(65, 82, 185);
/* oklch */ color: oklch(48.4% 0.163 271.9);
Tailwind
colors: {
  custom: {
    50: '#8382cf',
    500: '#4152b9',
    950: '#000000',
  },
}
SCSS
$custom: #4152b9;
$custom-light: #8382cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4152b9",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 185
  },
  "hsl": {
    "h": 231.5,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48443,
    "c": 0.16263,
    "h": 271.9
  },
  "luminance": 0.10661
}

Semantic roles & 50–950 ramp

primary
#4152B9
secondary
#C7BF8F
accent
#C450D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4152B9

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

Preview Lab → · Contrast checker → · Palette generator →

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