#4159BD#4159BD

#4159BD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.159 H 269.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4159BD
RGBrgb(65, 89, 189)
HSLhsl(228, 49%, 50%)
HSVhsv(228, 66%, 74%)
CMYKcmyk(65.6%, 52.9%, 0%, 25.9%)
CIE-LABlab(41.12, 23.59, -55.45)
CIE-LCHlch(41.12, 60.26, 293.04°)
OKLaboklab(50.13% -0.0009 -0.1592)
OKLCHoklch(50.13% 0.159 269.7)
XYZxyz(14.9345, 11.9413, 49.6521)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159BD #BDA541
analogous
#4197BD #4159BD #6741BD
triadic
#4159BD #BD4159 #59BD41
tetradic
#4159BD #BD4197 #BDA541 #41BD67
square
#4159BD #BD4197 #BDA541 #41BD67
split-complementary
#4159BD #BD6741 #97BD41
monochromatic
#222E62 #31448F #4159BD #6E80CD #9CA8DD

Accessibility & contrast

On white

6.20
#4159BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4159BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159BD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159BD#FFFFFF#000000##FFFFFF
##4159BD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C1
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4159bd;
/* rgb */ color: rgb(65, 89, 189);
/* oklch */ color: oklch(50.1% 0.159 269.7);
Tailwind
colors: {
  custom: {
    50: '#8387d2',
    500: '#4159bd',
    950: '#000000',
  },
}
SCSS
$custom: #4159bd;
$custom-light: #8387d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4159bd",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 228.387,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.15923,
    "h": 269.7
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

primary
#4159BD
secondary
#C9BE91
accent
#BE4FD8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4159BD

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

Preview Lab → · Contrast checker → · Palette generator →

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