#4159C8#4159C8

#4159C8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.174 H 269.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4159C8
RGBrgb(65, 89, 200)
HSLhsl(229, 55%, 52%)
HSVhsv(229, 68%, 78%)
CMYKcmyk(67.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(41.90, 27.49, -60.58)
CIE-LCHlch(41.90, 66.53, 294.41°)
OKLaboklab(50.96% -0.0002 -0.1743)
OKLCHoklch(50.96% 0.174 269.9)
XYZxyz(16.1741, 12.4372, 56.1806)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159C8 #C8B041
analogous
#419DC8 #4159C8 #6C41C8
triadic
#4159C8 #C84159 #59C841
tetradic
#4159C8 #C8419D #C8B041 #41C86C
square
#4159C8 #C8419D #C8B041 #41C86C
split-complementary
#4159C8 #C86C41 #9DC841
monochromatic
#202E6F #2E429E #4159C8 #7082D6 #A0ACE3

Accessibility & contrast

On white

6.02
#4159C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4159C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159C8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159C8#FFFFFF#000000##FFFFFF
##4159C81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4159c8;
/* rgb */ color: rgb(65, 89, 200);
/* oklch */ color: oklch(51.0% 0.174 269.9);
Tailwind
colors: {
  custom: {
    50: '#8587d9',
    500: '#4159c8',
    950: '#000000',
  },
}
SCSS
$custom: #4159c8;
$custom-light: #8587d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4159c8",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 229.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50961,
    "c": 0.17431,
    "h": 269.9
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#4159C8
secondary
#D0C595
accent
#C449DE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4159C8

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

Preview Lab → · Contrast checker → · Palette generator →

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