#4159B4#4159B4

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

Color values

HEX#4159B4
RGBrgb(65, 89, 180)
HSLhsl(227, 47%, 48%)
HSVhsv(227, 64%, 71%)
CMYKcmyk(63.9%, 50.6%, 0%, 29.4%)
CIE-LABlab(40.51, 20.39, -51.17)
CIE-LCHlch(40.51, 55.08, 291.73°)
OKLaboklab(49.47% -0.0017 -0.1466)
OKLCHoklch(49.47% 0.147 269.3)
XYZxyz(13.9878, 11.5626, 44.6658)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159B4 #B49C41
analogous
#4192B4 #4159B4 #6241B4
triadic
#4159B4 #B44159 #59B441
tetradic
#4159B4 #B44192 #B49C41 #41B462
square
#4159B4 #B44192 #B49C41 #41B462
split-complementary
#4159B4 #B46241 #92B441
monochromatic
#212D5A #314387 #4159B4 #697DC9 #96A4D9

Accessibility & contrast

On white

6.34
#4159B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4159B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159B4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159B4#FFFFFF#000000##FFFFFF
##4159B41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B7
Deuteranopia (green-blind)
#045BB2
Tritanopia (blue-blind)
#006E7E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4159b4;
/* rgb */ color: rgb(65, 89, 180);
/* oklch */ color: oklch(49.5% 0.147 269.3);
Tailwind
colors: {
  custom: {
    50: '#8187cb',
    500: '#4159b4',
    950: '#000000',
  },
}
SCSS
$custom: #4159b4;
$custom-light: #8187cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4159b4",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 180
  },
  "hsl": {
    "h": 227.478,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49471,
    "c": 0.14664,
    "h": 269.3
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4159B4

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

Preview Lab → · Contrast checker → · Palette generator →

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