#4159CC#4159CC

#4159CC is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.180 H 270.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4159CC
RGBrgb(65, 89, 204)
HSLhsl(230, 58%, 53%)
HSVhsv(230, 68%, 80%)
CMYKcmyk(68.1%, 56.4%, 0%, 20%)
CIE-LABlab(42.20, 28.91, -62.42)
CIE-LCHlch(42.20, 68.79, 294.85°)
OKLaboklab(51.27% -0.0001 -0.1797)
OKLCHoklch(51.27% 0.18 270)
XYZxyz(16.6477, 12.6266, 58.6749)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159CC #CCB441
analogous
#419FCC #4159CC #6E41CC
triadic
#4159CC #CC4159 #59CC41
tetradic
#4159CC #CC419F #CCB441 #41CC6E
square
#4159CC #CC419F #CCB441 #41CC6E
split-complementary
#4159CC #CC6E41 #9FCC41
monochromatic
#1F2E74 #2C41A4 #4159CC #7183D9 #A1ADE6

Accessibility & contrast

On white

5.96
#4159CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#4159CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159CC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159CC#FFFFFF#000000##FFFFFF
##4159CC1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4159cc;
/* rgb */ color: rgb(65, 89, 204);
/* oklch */ color: oklch(51.3% 0.180 270.0);
Tailwind
colors: {
  custom: {
    50: '#8687dc',
    500: '#4159cc',
    950: '#000000',
  },
}
SCSS
$custom: #4159cc;
$custom-light: #8687dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4159cc",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 229.64,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51273,
    "c": 0.17971,
    "h": 270
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#4159CC
secondary
#D3C896
accent
#C647E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4159CC

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

Preview Lab → · Contrast checker → · Palette generator →

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