#4159D0#4159D0

#4159D0 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.6% C 0.185 H 270.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4159D0
RGBrgb(65, 89, 208)
HSLhsl(230, 60%, 54%)
HSVhsv(230, 69%, 82%)
CMYKcmyk(68.8%, 57.2%, 0%, 18.4%)
CIE-LABlab(42.49, 30.33, -64.24)
CIE-LCHlch(42.49, 71.04, 295.27°)
OKLaboklab(51.59% 0 -0.1851)
OKLCHoklch(51.59% 0.185 270)
XYZxyz(17.1336, 12.8210, 61.2340)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159D0 #D0B841
analogous
#41A0D0 #4159D0 #7041D0
triadic
#4159D0 #D04159 #59D041
tetradic
#4159D0 #D041A0 #D0B841 #41D070
square
#4159D0 #D041A0 #D0B841 #41D070
split-complementary
#4159D0 #D07041 #A0D041
monochromatic
#1E2D79 #2A3FAA #4159D0 #7284DC #A3AFE8

Accessibility & contrast

On white

5.89
#4159D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4159D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159D0
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159D0#FFFFFF#000000##FFFFFF
##4159D01.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#005ECE
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4159d0;
/* rgb */ color: rgb(65, 89, 208);
/* oklch */ color: oklch(51.6% 0.185 270.0);
Tailwind
colors: {
  custom: {
    50: '#8787df',
    500: '#4159d0',
    950: '#000000',
  },
}
SCSS
$custom: #4159d0;
$custom-light: #8787df;
$custom-dark: #000000;
JSON
{
  "hex": "#4159d0",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 208
  },
  "hsl": {
    "h": 229.93,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51588,
    "c": 0.18506,
    "h": 270
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#4159D0
secondary
#D5CB98
accent
#C944E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4159D0

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

Preview Lab → · Contrast checker → · Palette generator →

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