#4159CA#4159CA

#4159CA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.1% C 0.177 H 269.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4159CA
RGBrgb(65, 89, 202)
HSLhsl(229, 56%, 52%)
HSVhsv(229, 68%, 79%)
CMYKcmyk(67.8%, 55.9%, 0%, 20.8%)
CIE-LABlab(42.05, 28.20, -61.50)
CIE-LCHlch(42.05, 67.66, 294.64°)
OKLaboklab(51.12% -0.0002 -0.177)
OKLCHoklch(51.12% 0.177 269.9)
XYZxyz(16.4094, 12.5313, 57.4197)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159CA #CAB241
analogous
#419ECA #4159CA #6D41CA
triadic
#4159CA #CA4159 #59CA41
tetradic
#4159CA #CA419E #CAB241 #41CA6D
square
#4159CA #CA419E #CAB241 #41CA6D
split-complementary
#4159CA #CA6D41 #9ECA41
monochromatic
#202E71 #2D41A1 #4159CA #7183D7 #A1ADE5

Accessibility & contrast

On white

5.99
#4159CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4159CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159CA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159CA#FFFFFF#000000##FFFFFF
##4159CA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4159ca;
/* rgb */ color: rgb(65, 89, 202);
/* oklch */ color: oklch(51.1% 0.177 269.9);
Tailwind
colors: {
  custom: {
    50: '#8587db',
    500: '#4159ca',
    950: '#000000',
  },
}
SCSS
$custom: #4159ca;
$custom-light: #8587db;
$custom-dark: #000000;
JSON
{
  "hex": "#4159ca",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 229.489,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.17702,
    "h": 269.9
  },
  "luminance": 0.12533
}

Semantic roles & 50–950 ramp

primary
#4159CA
secondary
#D1C796
accent
#C548E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4159CA

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

Preview Lab → · Contrast checker → · Palette generator →

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