#4142E0#4142E0

#4142E0 is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.1% C 0.231 H 273.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#4142E0
RGBrgb(65, 66, 224)
HSLhsl(240, 72%, 57%)
HSVhsv(240, 71%, 88%)
CMYKcmyk(71%, 70.5%, 0%, 12.2%)
CIE-LABlab(38.55, 49.74, -79.85)
CIE-LCHlch(38.55, 94.08, 301.92°)
OKLaboklab(49.12% 0.0144 -0.2309)
OKLCHoklch(49.12% 0.231 273.6)
XYZxyz(17.5782, 10.4003, 71.5876)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142E0 #E0DF41
analogous
#4191E0 #4142E0 #9041E0
triadic
#4142E0 #E04142 #42E041
tetradic
#4142E0 #E04191 #E0DF41 #41E090
square
#4142E0 #E04191 #E0DF41 #41E090
split-complementary
#4142E0 #E09041 #91E041
monochromatic
#17188F #2021C4 #4142E0 #7676E9 #AAABF1

Accessibility & contrast

On white

6.82
#4142E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4142E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4142E0
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142E0#FFFFFF#000000##FFFFFF
##4142E01.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E5
Deuteranopia (green-blind)
#0053DD
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4142e0;
/* rgb */ color: rgb(65, 66, 224);
/* oklch */ color: oklch(49.1% 0.231 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c78eb',
    500: '#4142e0',
    950: '#000000',
  },
}
SCSS
$custom: #4142e0;
$custom-light: #8c78eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4142e0",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 239.623,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.23139,
    "h": 273.6
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#4142E0
secondary
#DFDF9E
accent
#EE39EF
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4142E0

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

Preview Lab → · Contrast checker → · Palette generator →

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