#4151B0#4151B0

#4151B0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.151 H 272.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4151B0
RGBrgb(65, 81, 176)
HSLhsl(231, 46%, 47%)
HSVhsv(231, 63%, 69%)
CMYKcmyk(63.1%, 54%, 0%, 31%)
CIE-LABlab(38.10, 24.15, -52.71)
CIE-LCHlch(38.10, 57.98, 294.62°)
OKLaboklab(47.56% 0.0057 -0.1513)
OKLCHoklch(47.56% 0.151 272.2)
XYZxyz(12.9563, 10.1422, 42.3407)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151B0 #B0A041
analogous
#4189B0 #4151B0 #6841B0
triadic
#4151B0 #B04151 #51B041
tetradic
#4151B0 #B04189 #B0A041 #41B068
square
#4151B0 #B04189 #B0A041 #41B068
split-complementary
#4151B0 #B06841 #89B041
monochromatic
#202857 #303C83 #4151B0 #6775C7 #949ED7

Accessibility & contrast

On white

6.93
#4151B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4151B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151B0
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151B0#FFFFFF#000000##FFFFFF
##4151B01.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115FB3
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4151b0;
/* rgb */ color: rgb(65, 81, 176);
/* oklch */ color: oklch(47.6% 0.151 272.2);
Tailwind
colors: {
  custom: {
    50: '#8181c8',
    500: '#4151b0',
    950: '#000000',
  },
}
SCSS
$custom: #4151b0;
$custom-light: #8181c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4151b0",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 176
  },
  "hsl": {
    "h": 231.351,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4756,
    "c": 0.15137,
    "h": 272.2
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#4151B0
secondary
#C3BB8A
accent
#C352D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4151B0

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

Preview Lab → · Contrast checker → · Palette generator →

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