#4159B7#4159B7

#4159B7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.151 H 269.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4159B7
RGBrgb(65, 89, 183)
HSLhsl(228, 48%, 49%)
HSVhsv(228, 64%, 72%)
CMYKcmyk(64.5%, 51.4%, 0%, 28.2%)
CIE-LABlab(40.71, 21.46, -52.61)
CIE-LCHlch(40.71, 56.82, 292.19°)
OKLaboklab(49.69% -0.0014 -0.1509)
OKLCHoklch(49.69% 0.151 269.4)
XYZxyz(14.2967, 11.6862, 46.2928)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159B7 #B79F41
analogous
#4194B7 #4159B7 #6441B7
triadic
#4159B7 #B74159 #59B741
tetradic
#4159B7 #B74194 #B79F41 #41B764
square
#4159B7 #B74194 #B79F41 #41B764
split-complementary
#4159B7 #B76441 #94B741
monochromatic
#212D5D #31438A #4159B7 #6B7ECA #98A5DA

Accessibility & contrast

On white

6.29
#4159B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4159B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159B7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159B7#FFFFFF#000000##FFFFFF
##4159B71.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4159b7;
/* rgb */ color: rgb(65, 89, 183);
/* oklch */ color: oklch(49.7% 0.151 269.4);
Tailwind
colors: {
  custom: {
    50: '#8287cd',
    500: '#4159b7',
    950: '#000000',
  },
}
SCSS
$custom: #4159b7;
$custom-light: #8287cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4159b7",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 183
  },
  "hsl": {
    "h": 227.797,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.15087,
    "h": 269.4
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#4159B7
secondary
#C6BB8E
accent
#BC51D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4159B7

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

Preview Lab → · Contrast checker → · Palette generator →

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