#4159DE#4159DE

#4159DE is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.7% C 0.203 H 270.0°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4159DE
RGBrgb(65, 89, 222)
HSLhsl(231, 70%, 56%)
HSVhsv(231, 71%, 87%)
CMYKcmyk(70.7%, 59.9%, 0%, 12.9%)
CIE-LABlab(43.57, 35.25, -70.49)
CIE-LCHlch(43.57, 78.82, 296.57°)
OKLaboklab(52.72% 0.0001 -0.2034)
OKLCHoklch(52.72% 0.203 270)
XYZxyz(18.9327, 13.5406, 70.7089)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159DE #DEC641
analogous
#41A8DE #4159DE #7841DE
triadic
#4159DE #DE4159 #59DE41
tetradic
#4159DE #DE41A8 #DEC641 #41DE78
square
#4159DE #DE41A8 #DEC641 #41DE78
split-complementary
#4159DE #DE7841 #A8DE41
monochromatic
#182A8C #213AC0 #4159DE #7587E7 #A9B4F0

Accessibility & contrast

On white

5.66
#4159DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#4159DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159DE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159DE#FFFFFF#000000##FFFFFF
##4159DE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#007B93
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4159de;
/* rgb */ color: rgb(65, 89, 222);
/* oklch */ color: oklch(52.7% 0.203 270.0);
Tailwind
colors: {
  custom: {
    50: '#8987e9',
    500: '#4159de',
    950: '#000000',
  },
}
SCSS
$custom: #4159de;
$custom-light: #8987e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4159de",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 222
  },
  "hsl": {
    "h": 230.828,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.20344,
    "h": 270
  },
  "luminance": 0.13543
}

Semantic roles & 50–950 ramp

primary
#4159DE
secondary
#DED49D
accent
#D23BED
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4159DE

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

Preview Lab → · Contrast checker → · Palette generator →

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