#4142E1#4142E1

#4142E1 is a mid, highly saturated blue. Relative luminance 0.105; OKLCH L 49.2% C 0.233 H 273.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#4142E1
RGBrgb(65, 66, 225)
HSLhsl(240, 73%, 57%)
HSVhsv(240, 71%, 88%)
CMYKcmyk(71.1%, 70.7%, 0%, 11.8%)
CIE-LABlab(38.65, 50.06, -80.27)
CIE-LCHlch(38.65, 94.60, 301.95°)
OKLaboklab(49.22% 0.0143 -0.2321)
OKLCHoklch(49.22% 0.233 273.5)
XYZxyz(17.7143, 10.4547, 72.3040)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142E1 #E1E041
analogous
#4192E1 #4142E1 #9041E1
triadic
#4142E1 #E14142 #42E141
tetradic
#4142E1 #E14192 #E1E041 #41E190
square
#4142E1 #E14192 #E1E041 #41E190
split-complementary
#4142E1 #E19041 #92E141
monochromatic
#171891 #1F20C6 #4142E1 #7677E9 #ABABF2

Accessibility & contrast

On white

6.79
#4142E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4142E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4142E1
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142E1#FFFFFF#000000##FFFFFF
##4142E11.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E6
Deuteranopia (green-blind)
#0053DE
Tritanopia (blue-blind)
#006F8D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4142e1;
/* rgb */ color: rgb(65, 66, 225);
/* oklch */ color: oklch(49.2% 0.233 273.5);
Tailwind
colors: {
  custom: {
    50: '#8c78ec',
    500: '#4142e1',
    950: '#000000',
  },
}
SCSS
$custom: #4142e1;
$custom-light: #8c78ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4142e1",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 225
  },
  "hsl": {
    "h": 239.625,
    "s": 72.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.49216,
    "c": 0.23259,
    "h": 273.5
  },
  "luminance": 0.10456
}

Semantic roles & 50–950 ramp

primary
#4142E1
secondary
#E0DF9E
accent
#EE38EF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4142E1

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

Preview Lab → · Contrast checker → · Palette generator →

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