#4159CE#4159CE

#4159CE is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.4% C 0.182 H 270.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4159CE
RGBrgb(65, 89, 206)
HSLhsl(230, 59%, 53%)
HSVhsv(230, 68%, 81%)
CMYKcmyk(68.4%, 56.8%, 0%, 19.2%)
CIE-LABlab(42.34, 29.62, -63.33)
CIE-LCHlch(42.34, 69.91, 295.07°)
OKLaboklab(51.43% 0 -0.1824)
OKLCHoklch(51.43% 0.182 270)
XYZxyz(16.8891, 12.7232, 59.9463)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159CE #CEB641
analogous
#41A0CE #4159CE #6F41CE
triadic
#4159CE #CE4159 #59CE41
tetradic
#4159CE #CE41A0 #CEB641 #41CE6F
square
#4159CE #CE41A0 #CEB641 #41CE6F
split-complementary
#4159CE #CE6F41 #A0CE41
monochromatic
#1E2D76 #2B40A7 #4159CE #7284DB #A2AEE7

Accessibility & contrast

On white

5.92
#4159CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4159CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159CE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159CE#FFFFFF#000000##FFFFFF
##4159CE1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4159ce;
/* rgb */ color: rgb(65, 89, 206);
/* oklch */ color: oklch(51.4% 0.182 270.0);
Tailwind
colors: {
  custom: {
    50: '#8687de',
    500: '#4159ce',
    950: '#000000',
  },
}
SCSS
$custom: #4159ce;
$custom-light: #8687de;
$custom-dark: #000000;
JSON
{
  "hex": "#4159ce",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 229.787,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.18239,
    "h": 270
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#4159CE
secondary
#D4C997
accent
#C846E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4159CE

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

Preview Lab → · Contrast checker → · Palette generator →

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