#4152B3#4152B3

#4152B3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.154 H 271.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4152B3
RGBrgb(65, 82, 179)
HSLhsl(231, 47%, 48%)
HSVhsv(231, 64%, 70%)
CMYKcmyk(63.7%, 54.2%, 0%, 29.8%)
CIE-LABlab(38.57, 24.56, -53.71)
CIE-LCHlch(38.57, 59.06, 294.57°)
OKLaboklab(47.98% 0.005 -0.1542)
OKLCHoklch(47.98% 0.154 271.8)
XYZxyz(13.3312, 10.4119, 43.9463)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4152B3 #B3A241
analogous
#418BB3 #4152B3 #6941B3
triadic
#4152B3 #B34152 #52B341
tetradic
#4152B3 #B3418B #B3A241 #41B369
square
#4152B3 #B3418B #B3A241 #41B369
split-complementary
#4152B3 #B36941 #8BB341
monochromatic
#202959 #313D86 #4152B3 #6977C8 #96A0D9

Accessibility & contrast

On white

6.81
#4152B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4152B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4152B3
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4152B3#FFFFFF#000000##FFFFFF
##4152B31.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E60B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4152b3;
/* rgb */ color: rgb(65, 82, 179);
/* oklch */ color: oklch(48.0% 0.154 271.8);
Tailwind
colors: {
  custom: {
    50: '#8182ca',
    500: '#4152b3',
    950: '#000000',
  },
}
SCSS
$custom: #4152b3;
$custom-light: #8182ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4152b3",
  "rgb": {
    "r": 65,
    "g": 82,
    "b": 179
  },
  "hsl": {
    "h": 231.053,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47984,
    "c": 0.15428,
    "h": 271.8
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#4152B3
secondary
#C4BC8B
accent
#C351D6
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4152B3

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

Preview Lab → · Contrast checker → · Palette generator →

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