#4159EA#4159EA

#4159EA is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.7% C 0.219 H 270.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4159EA
RGBrgb(65, 89, 234)
HSLhsl(231, 80%, 59%)
HSVhsv(231, 72%, 92%)
CMYKcmyk(72.2%, 62%, 0%, 8.2%)
CIE-LABlab(44.53, 39.44, -75.72)
CIE-LCHlch(44.53, 85.38, 297.51°)
OKLaboklab(53.73% -0.0001 -0.2188)
OKLCHoklch(53.73% 0.219 270)
XYZxyz(20.5986, 14.2069, 79.4826)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159EA #EAD241
analogous
#41ADEA #4159EA #7D41EA
triadic
#4159EA #EA4159 #59EA41
tetradic
#4159EA #EA41AD #EAD241 #41EA7D
square
#4159EA #EA41AD #EAD241 #41EA7D
split-complementary
#4159EA #EA7D41 #ADEA41
monochromatic
#12269F #1833D6 #4159EA #7889F0 #AFB9F6

Accessibility & contrast

On white

5.47
#4159EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4159EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159EA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159EA#FFFFFF#000000##FFFFFF
##4159EA1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4159ea;
/* rgb */ color: rgb(65, 89, 234);
/* oklch */ color: oklch(53.7% 0.219 270.0);
Tailwind
colors: {
  custom: {
    50: '#8c88f2',
    500: '#4159ea',
    950: '#000000',
  },
}
SCSS
$custom: #4159ea;
$custom-light: #8c88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4159ea",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 231.479,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53733,
    "c": 0.21878,
    "h": 270
  },
  "luminance": 0.14209
}

Semantic roles & 50–950 ramp

primary
#4159EA
secondary
#E5DBA2
accent
#DB31F7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4159EA

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

Preview Lab → · Contrast checker → · Palette generator →

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