#4159BF#4159BF

#4159BF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.162 H 269.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4159BF
RGBrgb(65, 89, 191)
HSLhsl(229, 50%, 50%)
HSVhsv(229, 66%, 75%)
CMYKcmyk(66%, 53.4%, 0%, 25.1%)
CIE-LABlab(41.26, 24.30, -56.39)
CIE-LCHlch(41.26, 61.41, 293.31°)
OKLaboklab(50.28% -0.0008 -0.162)
OKLCHoklch(50.28% 0.162 269.7)
XYZxyz(15.1531, 12.0288, 50.8033)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159BF #BFA741
analogous
#4198BF #4159BF #6841BF
triadic
#4159BF #BF4159 #59BF41
tetradic
#4159BF #BF4198 #BFA741 #41BF68
square
#4159BF #BF4198 #BFA741 #41BF68
split-complementary
#4159BF #BF6841 #98BF41
monochromatic
#222E64 #314392 #4159BF #6F81CE #9DA9DE

Accessibility & contrast

On white

6.17
#4159BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4159BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159BF
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159BF#FFFFFF#000000##FFFFFF
##4159BF1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4159bf;
/* rgb */ color: rgb(65, 89, 191);
/* oklch */ color: oklch(50.3% 0.162 269.7);
Tailwind
colors: {
  custom: {
    50: '#8387d3',
    500: '#4159bf',
    950: '#000000',
  },
}
SCSS
$custom: #4159bf;
$custom-light: #8387d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4159bf",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 228.571,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.162,
    "h": 269.7
  },
  "luminance": 0.1203
}

Semantic roles & 50–950 ramp

primary
#4159BF
secondary
#CABF92
accent
#BF4FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4159BF

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

Preview Lab → · Contrast checker → · Palette generator →

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