#4159C3#4159C3

#4159C3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.6% C 0.168 H 269.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#4159C3
RGBrgb(65, 89, 195)
HSLhsl(229, 52%, 51%)
HSVhsv(229, 67%, 76%)
CMYKcmyk(66.7%, 54.4%, 0%, 23.5%)
CIE-LABlab(41.54, 25.72, -58.27)
CIE-LCHlch(41.54, 63.69, 293.82°)
OKLaboklab(50.58% -0.0005 -0.1675)
OKLCHoklch(50.58% 0.168 269.8)
XYZxyz(15.5993, 12.2072, 53.1533)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159C3 #C3AB41
analogous
#419AC3 #4159C3 #6A41C3
triadic
#4159C3 #C34159 #59C341
tetradic
#4159C3 #C3419A #C3AB41 #41C36A
square
#4159C3 #C3419A #C3AB41 #41C36A
split-complementary
#4159C3 #C36A41 #9AC341
monochromatic
#212E69 #304397 #4159C3 #7082D2 #9EAAE0

Accessibility & contrast

On white

6.10
#4159C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4159C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159C3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159C3#FFFFFF#000000##FFFFFF
##4159C31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0568C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4159c3;
/* rgb */ color: rgb(65, 89, 195);
/* oklch */ color: oklch(50.6% 0.168 269.8);
Tailwind
colors: {
  custom: {
    50: '#8487d6',
    500: '#4159c3',
    950: '#000000',
  },
}
SCSS
$custom: #4159c3;
$custom-light: #8487d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4159c3",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 195
  },
  "hsl": {
    "h": 228.923,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.1675,
    "h": 269.8
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#4159C3
secondary
#CDC293
accent
#C14CDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4159C3

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

Preview Lab → · Contrast checker → · Palette generator →

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