#4159BE#4159BE

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

Color values

HEX#4159BE
RGBrgb(65, 89, 190)
HSLhsl(228, 49%, 50%)
HSVhsv(228, 66%, 75%)
CMYKcmyk(65.8%, 53.2%, 0%, 25.5%)
CIE-LABlab(41.19, 23.94, -55.93)
CIE-LCHlch(41.19, 60.84, 293.18°)
OKLaboklab(50.2% -0.0008 -0.1606)
OKLCHoklch(50.2% 0.161 269.7)
XYZxyz(15.0435, 11.9849, 50.2258)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159BE #BEA641
analogous
#4198BE #4159BE #6741BE
triadic
#4159BE #BE4159 #59BE41
tetradic
#4159BE #BE4198 #BEA641 #41BE67
square
#4159BE #BE4198 #BEA641 #41BE67
split-complementary
#4159BE #BE6741 #98BE41
monochromatic
#222E63 #314490 #4159BE #6F81CE #9CA9DD

Accessibility & contrast

On white

6.18
#4159BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4159BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159BE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159BE#FFFFFF#000000##FFFFFF
##4159BE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4159be;
/* rgb */ color: rgb(65, 89, 190);
/* oklch */ color: oklch(50.2% 0.161 269.7);
Tailwind
colors: {
  custom: {
    50: '#8387d2',
    500: '#4159be',
    950: '#000000',
  },
}
SCSS
$custom: #4159be;
$custom-light: #8387d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4159be",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 228.48,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.50202,
    "c": 0.16062,
    "h": 269.7
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#4159BE
secondary
#C9BF91
accent
#BE4FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4159BE

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

Preview Lab → · Contrast checker → · Palette generator →

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