#4151B9#4151B9

#4151B9 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.164 H 272.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4151B9
RGBrgb(65, 81, 185)
HSLhsl(232, 48%, 49%)
HSVhsv(232, 65%, 73%)
CMYKcmyk(64.9%, 56.2%, 0%, 27.5%)
CIE-LABlab(38.74, 27.32, -56.97)
CIE-LCHlch(38.74, 63.18, 295.62°)
OKLaboklab(48.25% 0.0062 -0.1638)
OKLCHoklch(48.25% 0.164 272.2)
XYZxyz(13.8764, 10.5102, 47.1869)
Luminance0.1051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151B9 #B9A941
analogous
#418DB9 #4151B9 #6D41B9
triadic
#4151B9 #B94151 #51B941
tetradic
#4151B9 #B9418D #B9A941 #41B96D
square
#4151B9 #B9418D #B9A941 #41B96D
split-complementary
#4151B9 #B96D41 #8DB941
monochromatic
#21295E #313D8C #4151B9 #6C79CB #99A2DB

Accessibility & contrast

On white

6.77
#4151B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4151B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151B9
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151B9#FFFFFF#000000##FFFFFF
##4151B91.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4151b9;
/* rgb */ color: rgb(65, 81, 185);
/* oklch */ color: oklch(48.3% 0.164 272.2);
Tailwind
colors: {
  custom: {
    50: '#8381cf',
    500: '#4151b9',
    950: '#000000',
  },
}
SCSS
$custom: #4151b9;
$custom-light: #8381cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4151b9",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 185
  },
  "hsl": {
    "h": 232,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.1639,
    "h": 272.2
  },
  "luminance": 0.10511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4151B9

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

Preview Lab → · Contrast checker → · Palette generator →

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