#4150B4#4150B4

#4150B4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.158 H 272.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4150B4
RGBrgb(65, 80, 180)
HSLhsl(232, 47%, 48%)
HSVhsv(232, 64%, 71%)
CMYKcmyk(63.9%, 55.6%, 0%, 29.4%)
CIE-LABlab(38.12, 26.20, -55.04)
CIE-LCHlch(38.12, 60.95, 295.46°)
OKLaboklab(47.67% 0.0069 -0.1581)
OKLCHoklch(47.67% 0.158 272.5)
XYZxyz(13.2841, 10.1553, 44.4313)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150B4 #B4A541
analogous
#4189B4 #4150B4 #6B41B4
triadic
#4150B4 #B44150 #50B441
tetradic
#4150B4 #B44189 #B4A541 #41B46B
square
#4150B4 #B44189 #B4A541 #41B46B
split-complementary
#4150B4 #B46B41 #89B441
monochromatic
#21285A #313C87 #4150B4 #6976C9 #969FD9

Accessibility & contrast

On white

6.93
#4150B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4150B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150B4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150B4#FFFFFF#000000##FFFFFF
##4150B41.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)
#005FB7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4150b4;
/* rgb */ color: rgb(65, 80, 180);
/* oklch */ color: oklch(47.7% 0.158 272.5);
Tailwind
colors: {
  custom: {
    50: '#8280cb',
    500: '#4150b4',
    950: '#000000',
  },
}
SCSS
$custom: #4150b4;
$custom-light: #8280cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4150b4",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 180
  },
  "hsl": {
    "h": 232.174,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47668,
    "c": 0.15826,
    "h": 272.5
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#4150B4
secondary
#C5BD8C
accent
#C551D7
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4150B4

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

Preview Lab → · Contrast checker → · Palette generator →

#4150B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva