#4159AE#4159AE

#4159AE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.0% C 0.138 H 269.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4159AE
RGBrgb(65, 89, 174)
HSLhsl(227, 46%, 47%)
HSVhsv(227, 63%, 68%)
CMYKcmyk(62.6%, 48.9%, 0%, 31.8%)
CIE-LABlab(40.12, 18.27, -48.27)
CIE-LCHlch(40.12, 51.61, 290.73°)
OKLaboklab(49.05% -0.0024 -0.1381)
OKLCHoklch(49.05% 0.138 269)
XYZxyz(13.3897, 11.3234, 41.5162)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4159AE #AE9641
analogous
#4190AE #4159AE #6041AE
triadic
#4159AE #AE4159 #59AE41
tetradic
#4159AE #AE4190 #AE9641 #41AE60
square
#4159AE #AE4190 #AE9641 #41AE60
split-complementary
#4159AE #AE6041 #90AE41
monochromatic
#202B55 #304281 #4159AE #667BC6 #93A2D7

Accessibility & contrast

On white

6.43
#4159AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4159AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4159AE
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4159AE#FFFFFF#000000##FFFFFF
##4159AE1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#185AAC
Tritanopia (blue-blind)
#006C7B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4159ae;
/* rgb */ color: rgb(65, 89, 174);
/* oklch */ color: oklch(49.0% 0.138 269.0);
Tailwind
colors: {
  custom: {
    50: '#8087c7',
    500: '#4159ae',
    950: '#000000',
  },
}
SCSS
$custom: #4159ae;
$custom-light: #8087c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4159ae",
  "rgb": {
    "r": 65,
    "g": 89,
    "b": 174
  },
  "hsl": {
    "h": 226.789,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49047,
    "c": 0.13811,
    "h": 269
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

primary
#4159AE
secondary
#C2B589
accent
#B853D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4159AE

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

Preview Lab → · Contrast checker → · Palette generator →

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