#4142AD#4142AD

#4142AD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.167 H 276.8°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4142AD
RGBrgb(65, 66, 173)
HSLhsl(239, 45%, 47%)
HSVhsv(239, 62%, 68%)
CMYKcmyk(62.4%, 61.8%, 0%, 32.2%)
CIE-LABlab(34.06, 32.73, -57.48)
CIE-LCHlch(34.06, 66.15, 299.66°)
OKLaboklab(44.49% 0.0198 -0.1654)
OKLCHoklch(44.49% 0.167 276.8)
XYZxyz(11.6686, 8.0365, 40.4634)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142AD #ADAC41
analogous
#4178AD #4142AD #7641AD
triadic
#4142AD #AD4142 #42AD41
tetradic
#4142AD #AD4178 #ADAC41 #41AD76
square
#4142AD #AD4178 #ADAC41 #41AD76
split-complementary
#4142AD #AD7641 #78AD41
monochromatic
#202054 #303181 #4142AD #6667C5 #9293D6

Accessibility & contrast

On white

8.05
#4142AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4142AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4142AD
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142AD#FFFFFF#000000##FFFFFF
##4142AD1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4142ad;
/* rgb */ color: rgb(65, 66, 173);
/* oklch */ color: oklch(44.5% 0.167 276.8);
Tailwind
colors: {
  custom: {
    50: '#8176c6',
    500: '#4142ad',
    950: '#000000',
  },
}
SCSS
$custom: #4142ad;
$custom-light: #8176c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4142ad",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 239.444,
    "s": 45.378,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44486,
    "c": 0.16662,
    "h": 276.8
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4142AD

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

Preview Lab → · Contrast checker → · Palette generator →

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