#4142B3#4142B3

#4142B3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.175 H 276.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4142B3
RGBrgb(65, 66, 179)
HSLhsl(239, 47%, 48%)
HSVhsv(239, 64%, 70%)
CMYKcmyk(63.7%, 63.1%, 0%, 29.8%)
CIE-LABlab(34.55, 34.77, -60.25)
CIE-LCHlch(34.55, 69.57, 299.99°)
OKLaboklab(45% 0.0194 -0.1736)
OKLCHoklch(45% 0.175 276.4)
XYZxyz(12.2622, 8.2739, 43.5899)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142B3 #B3B241
analogous
#417BB3 #4142B3 #7941B3
triadic
#4142B3 #B34142 #42B341
tetradic
#4142B3 #B3417B #B3B241 #41B379
square
#4142B3 #B3417B #B3B241 #41B379
split-complementary
#4142B3 #B37941 #7BB341
monochromatic
#202159 #313186 #4142B3 #696AC8 #9696D9

Accessibility & contrast

On white

7.91
#4142B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4142B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4142B3
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142B3#FFFFFF#000000##FFFFFF
##4142B31.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4142b3;
/* rgb */ color: rgb(65, 66, 179);
/* oklch */ color: oklch(45.0% 0.175 276.4);
Tailwind
colors: {
  custom: {
    50: '#8376cb',
    500: '#4142b3',
    950: '#000000',
  },
}
SCSS
$custom: #4142b3;
$custom-light: #8376cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4142b3",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 239.474,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.17467,
    "h": 276.4
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#4142B3
secondary
#C4C48B
accent
#D551D6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4142B3

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

Preview Lab → · Contrast checker → · Palette generator →

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