#4142D1#4142D1

#4142D1 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.7% C 0.213 H 274.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4142D1
RGBrgb(65, 66, 209)
HSLhsl(240, 61%, 54%)
HSVhsv(240, 69%, 82%)
CMYKcmyk(68.9%, 68.4%, 0%, 18%)
CIE-LABlab(37.16, 44.83, -73.53)
CIE-LCHlch(37.16, 86.12, 301.37°)
OKLaboklab(47.69% 0.0165 -0.2125)
OKLCHoklch(47.69% 0.213 274.4)
XYZxyz(15.6330, 9.6222, 61.3427)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142D1 #D1D041
analogous
#418AD1 #4142D1 #8841D1
triadic
#4142D1 #D14142 #42D141
tetradic
#4142D1 #D1418A #D1D041 #41D188
square
#4142D1 #D1418A #D1D041 #41D188
split-complementary
#4142D1 #D18841 #8AD141
monochromatic
#1E1E7A #292AAB #4142D1 #7273DD #A4A4E9

Accessibility & contrast

On white

7.18
#4142D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4142D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4142D1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142D1#FFFFFF#000000##FFFFFF
##4142D11.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED5
Deuteranopia (green-blind)
#0051CE
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4142d1;
/* rgb */ color: rgb(65, 66, 209);
/* oklch */ color: oklch(47.7% 0.213 274.4);
Tailwind
colors: {
  custom: {
    50: '#8977e0',
    500: '#4142d1',
    950: '#000000',
  },
}
SCSS
$custom: #4142d1;
$custom-light: #8977e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4142d1",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 239.583,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.47694,
    "c": 0.21313,
    "h": 274.4
  },
  "luminance": 0.09624
}

Semantic roles & 50–950 ramp

primary
#4142D1
secondary
#D6D598
accent
#E344E4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4142D1

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

Preview Lab → · Contrast checker → · Palette generator →

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