#4142AE#4142AE

#4142AE is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.168 H 276.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4142AE
RGBrgb(65, 66, 174)
HSLhsl(239, 46%, 47%)
HSVhsv(239, 63%, 68%)
CMYKcmyk(62.6%, 62.1%, 0%, 31.8%)
CIE-LABlab(34.14, 33.07, -57.95)
CIE-LCHlch(34.14, 66.72, 299.71°)
OKLaboklab(44.57% 0.0197 -0.1668)
OKLCHoklch(44.57% 0.168 276.7)
XYZxyz(11.7657, 8.0753, 40.9749)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142AE #AEAD41
analogous
#4178AE #4142AE #7741AE
triadic
#4142AE #AE4142 #42AE41
tetradic
#4142AE #AE4178 #AEAD41 #41AE77
square
#4142AE #AE4178 #AEAD41 #41AE77
split-complementary
#4142AE #AE7741 #78AE41
monochromatic
#202055 #303181 #4142AE #6667C6 #9393D7

Accessibility & contrast

On white

8.03
#4142AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4142AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4142AE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142AE#FFFFFF#000000##FFFFFF
##4142AE1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4142ae;
/* rgb */ color: rgb(65, 66, 174);
/* oklch */ color: oklch(44.6% 0.168 276.7);
Tailwind
colors: {
  custom: {
    50: '#8276c7',
    500: '#4142ae',
    950: '#000000',
  },
}
SCSS
$custom: #4142ae;
$custom-light: #8276c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4142ae",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 239.45,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4457,
    "c": 0.16797,
    "h": 276.7
  },
  "luminance": 0.08076
}

Semantic roles & 50–950 ramp

primary
#4142AE
secondary
#C2C189
accent
#D453D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #4142AE

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

Preview Lab → · Contrast checker → · Palette generator →

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