#4150BF#4150BF

#4150BF is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.173 H 272.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4150BF
RGBrgb(65, 80, 191)
HSLhsl(233, 50%, 50%)
HSVhsv(233, 66%, 75%)
CMYKcmyk(66%, 58.1%, 0%, 25.1%)
CIE-LABlab(38.94, 30.06, -60.17)
CIE-LCHlch(38.94, 67.26, 296.55°)
OKLaboklab(48.53% 0.0072 -0.1732)
OKLCHoklch(48.53% 0.173 272.4)
XYZxyz(14.4495, 10.6214, 50.5688)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4150BF #BFB041
analogous
#418FBF #4150BF #7141BF
triadic
#4150BF #BF4150 #50BF41
tetradic
#4150BF #BF418F #BFB041 #41BF71
square
#4150BF #BF418F #BFB041 #41BF71
split-complementary
#4150BF #BF7141 #8FBF41
monochromatic
#222A64 #313D92 #4150BF #6F7ACE #9DA4DE

Accessibility & contrast

On white

6.72
#4150BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4150BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4150BF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4150BF#FFFFFF#000000##FFFFFF
##4150BF1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4150bf;
/* rgb */ color: rgb(65, 80, 191);
/* oklch */ color: oklch(48.5% 0.173 272.4);
Tailwind
colors: {
  custom: {
    50: '#8481d3',
    500: '#4150bf',
    950: '#000000',
  },
}
SCSS
$custom: #4150bf;
$custom-light: #8481d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4150bf",
  "rgb": {
    "r": 65,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 232.857,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48534,
    "c": 0.17336,
    "h": 272.4
  },
  "luminance": 0.10623
}

Semantic roles & 50–950 ramp

primary
#4150BF
secondary
#CAC392
accent
#C94FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4150BF

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

Preview Lab → · Contrast checker → · Palette generator →

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