#4151BE#4151BE

#4151BE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.171 H 272.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4151BE
RGBrgb(65, 81, 190)
HSLhsl(232, 49%, 50%)
HSVhsv(232, 66%, 75%)
CMYKcmyk(65.8%, 57.4%, 0%, 25.5%)
CIE-LABlab(39.11, 29.07, -59.29)
CIE-LCHlch(39.11, 66.04, 296.12°)
OKLaboklab(48.64% 0.0063 -0.1706)
OKLCHoklch(48.64% 0.171 272.1)
XYZxyz(14.4135, 10.7251, 50.0158)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151BE #BEAE41
analogous
#4190BE #4151BE #6F41BE
triadic
#4151BE #BE4151 #51BE41
tetradic
#4151BE #BE4190 #BEAE41 #41BE6F
square
#4151BE #BE4190 #BEAE41 #41BE6F
split-complementary
#4151BE #BE6F41 #90BE41
monochromatic
#222A63 #313E90 #4151BE #6F7BCE #9CA5DD

Accessibility & contrast

On white

6.68
#4151BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4151BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151BE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151BE#FFFFFF#000000##FFFFFF
##4151BE1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4151be;
/* rgb */ color: rgb(65, 81, 190);
/* oklch */ color: oklch(48.6% 0.171 272.1);
Tailwind
colors: {
  custom: {
    50: '#8481d2',
    500: '#4151be',
    950: '#000000',
  },
}
SCSS
$custom: #4151be;
$custom-light: #8481d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4151be",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 232.32,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.48643,
    "c": 0.17075,
    "h": 272.1
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#4151BE
secondary
#C9C291
accent
#C74FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4151BE

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

Preview Lab → · Contrast checker → · Palette generator →

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