#4159B5#4159B5

#4159B5 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.148 H 269.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4159B5
RGBrgb(65, 89, 181)
HSLhsl(228, 47%, 48%)
HSVhsv(228, 64%, 71%)
CMYKcmyk(64.1%, 50.8%, 0%, 29%)
CIE-LABlab(40.58, 20.75, -51.65)
CIE-LCHlch(40.58, 55.66, 291.89°)
OKLaboklab(49.54% -0.0016 -0.148)
OKLCHoklch(49.54% 0.148 269.4)
XYZxyz(14.0900, 11.6035, 45.2043)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159B5 #B59D41
analogous
#4193B5 #4159B5 #6341B5
triadic
#4159B5 #B54159 #59B541
tetradic
#4159B5 #B54193 #B59D41 #41B563
square
#4159B5 #B54193 #B59D41 #41B563
split-complementary
#4159B5 #B56341 #93B541
monochromatic
#212D5B #314388 #4159B5 #6A7EC9 #97A5DA

Accessibility & contrast

On white

6.32
#4159B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4159B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159B5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159B5#FFFFFF#000000##FFFFFF
##4159B51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B8
Deuteranopia (green-blind)
#005BB3
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4159b5;
/* rgb */ color: rgb(65, 89, 181);
/* oklch */ color: oklch(49.5% 0.148 269.4);
Tailwind
colors: {
  custom: {
    50: '#8187cc',
    500: '#4159b5',
    950: '#000000',
  },
}
SCSS
$custom: #4159b5;
$custom-light: #8187cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4159b5",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 181
  },
  "hsl": {
    "h": 227.586,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49543,
    "c": 0.14805,
    "h": 269.4
  },
  "luminance": 0.11605
}

Semantic roles & 50–950 ramp

primary
#4159B5
secondary
#C5BA8C
accent
#BB51D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4159B5

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

Preview Lab → · Contrast checker → · Palette generator →

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