#4159C0#4159C0

#4159C0 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.4% C 0.163 H 269.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4159C0
RGBrgb(65, 89, 192)
HSLhsl(229, 50%, 50%)
HSVhsv(229, 66%, 75%)
CMYKcmyk(66.1%, 53.6%, 0%, 24.7%)
CIE-LABlab(41.33, 24.65, -56.86)
CIE-LCHlch(41.33, 61.98, 293.44°)
OKLaboklab(50.35% -0.0007 -0.1634)
OKLCHoklch(50.35% 0.163 269.8)
XYZxyz(15.2635, 12.0729, 51.3849)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159C0 #C0A841
analogous
#4199C0 #4159C0 #6841C0
triadic
#4159C0 #C04159 #59C041
tetradic
#4159C0 #C04199 #C0A841 #41C068
square
#4159C0 #C04199 #C0A841 #41C068
split-complementary
#4159C0 #C06841 #99C041
monochromatic
#222E65 #314393 #4159C0 #6F81CF #9DA9DE

Accessibility & contrast

On white

6.15
#4159C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4159C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159C0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159C0#FFFFFF#000000##FFFFFF
##4159C01.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1067C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4159c0;
/* rgb */ color: rgb(65, 89, 192);
/* oklch */ color: oklch(50.4% 0.163 269.8);
Tailwind
colors: {
  custom: {
    50: '#8387d4',
    500: '#4159c0',
    950: '#000000',
  },
}
SCSS
$custom: #4159c0;
$custom-light: #8387d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4159c0",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 192
  },
  "hsl": {
    "h": 228.661,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50351,
    "c": 0.16338,
    "h": 269.8
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#4159C0
secondary
#CBC092
accent
#BF4EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4159C0

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

Preview Lab → · Contrast checker → · Palette generator →

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