#4151BC#4151BC

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

Color values

HEX#4151BC
RGBrgb(65, 81, 188)
HSLhsl(232, 49%, 50%)
HSVhsv(232, 65%, 74%)
CMYKcmyk(65.4%, 56.9%, 0%, 26.3%)
CIE-LABlab(38.96, 28.37, -58.37)
CIE-LCHlch(38.96, 64.90, 295.93°)
OKLaboklab(48.49% 0.0063 -0.1679)
OKLCHoklch(48.49% 0.168 272.1)
XYZxyz(14.1965, 10.6383, 48.8725)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4151BC #BCAC41
analogous
#418FBC #4151BC #6E41BC
triadic
#4151BC #BC4151 #51BC41
tetradic
#4151BC #BC418F #BCAC41 #41BC6E
square
#4151BC #BC418F #BCAC41 #41BC6E
split-complementary
#4151BC #BC6E41 #8FBC41
monochromatic
#222A61 #313D8F #4151BC #6E7ACD #9BA3DC

Accessibility & contrast

On white

6.71
#4151BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4151BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4151BC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4151BC#FFFFFF#000000##FFFFFF
##4151BC1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4151bc;
/* rgb */ color: rgb(65, 81, 188);
/* oklch */ color: oklch(48.5% 0.168 272.1);
Tailwind
colors: {
  custom: {
    50: '#8381d1',
    500: '#4151bc',
    950: '#000000',
  },
}
SCSS
$custom: #4151bc;
$custom-light: #8381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4151bc",
  "rgb": {
    "r": 65,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 232.195,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48485,
    "c": 0.16802,
    "h": 272.1
  },
  "luminance": 0.1064
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4151BC

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

Preview Lab → · Contrast checker → · Palette generator →

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