#4159C5#4159C5

#4159C5 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.7% C 0.170 H 269.9°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4159C5
RGBrgb(65, 89, 197)
HSLhsl(229, 53%, 51%)
HSVhsv(229, 67%, 77%)
CMYKcmyk(67%, 54.8%, 0%, 22.7%)
CIE-LABlab(41.69, 26.43, -59.19)
CIE-LCHlch(41.69, 64.83, 294.06°)
OKLaboklab(50.73% -0.0004 -0.1702)
OKLCHoklch(50.73% 0.17 269.9)
XYZxyz(15.8270, 12.2983, 54.3522)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159C5 #C5AD41
analogous
#419BC5 #4159C5 #6B41C5
triadic
#4159C5 #C54159 #59C541
tetradic
#4159C5 #C5419B #C5AD41 #41C56B
square
#4159C5 #C5419B #C5AD41 #41C56B
split-complementary
#4159C5 #C56B41 #9BC541
monochromatic
#212E6B #2F429A #4159C5 #7082D3 #9FABE2

Accessibility & contrast

On white

6.07
#4159C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4159C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159C5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159C5#FFFFFF#000000##FFFFFF
##4159C51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4159c5;
/* rgb */ color: rgb(65, 89, 197);
/* oklch */ color: oklch(50.7% 0.170 269.9);
Tailwind
colors: {
  custom: {
    50: '#8487d7',
    500: '#4159c5',
    950: '#000000',
  },
}
SCSS
$custom: #4159c5;
$custom-light: #8487d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4159c5",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 197
  },
  "hsl": {
    "h": 229.091,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5073,
    "c": 0.17024,
    "h": 269.9
  },
  "luminance": 0.123
}

Semantic roles & 50–950 ramp

primary
#4159C5
secondary
#CEC394
accent
#C24BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4159C5

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

Preview Lab → · Contrast checker → · Palette generator →

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