#4151BB#4151BB

#4151BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.167 H 272.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4151BB
RGBrgb(65, 81, 187)
HSLhsl(232, 48%, 49%)
HSVhsv(232, 65%, 73%)
CMYKcmyk(65.2%, 56.7%, 0%, 26.7%)
CIE-LABlab(38.89, 28.02, -57.90)
CIE-LCHlch(38.89, 64.32, 295.82°)
OKLaboklab(48.41% 0.0062 -0.1665)
OKLCHoklch(48.41% 0.167 272.1)
XYZxyz(14.0890, 10.5953, 48.3067)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151BB #BBAB41
analogous
#418EBB #4151BB #6E41BB
triadic
#4151BB #BB4151 #51BB41
tetradic
#4151BB #BB418E #BBAB41 #41BB6E
square
#4151BB #BB418E #BBAB41 #41BB6E
split-complementary
#4151BB #BB6E41 #8EBB41
monochromatic
#212A60 #313D8E #4151BB #6D79CC #9AA3DC

Accessibility & contrast

On white

6.73
#4151BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4151BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151BB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151BB#FFFFFF#000000##FFFFFF
##4151BB1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4151bb;
/* rgb */ color: rgb(65, 81, 187);
/* oklch */ color: oklch(48.4% 0.167 272.1);
Tailwind
colors: {
  custom: {
    50: '#8381d0',
    500: '#4151bb',
    950: '#000000',
  },
}
SCSS
$custom: #4151bb;
$custom-light: #8381d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4151bb",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 232.131,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.48406,
    "c": 0.16665,
    "h": 272.1
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#4151BB
secondary
#C8C190
accent
#C650D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4151BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4151BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva