#4142DE#4142DE

#4142DE is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.9% C 0.229 H 273.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4142DE
RGBrgb(65, 66, 222)
HSLhsl(240, 70%, 56%)
HSVhsv(240, 71%, 87%)
CMYKcmyk(70.7%, 70.3%, 0%, 12.9%)
CIE-LABlab(38.36, 49.09, -79.02)
CIE-LCHlch(38.36, 93.03, 301.85°)
OKLaboklab(48.93% 0.0147 -0.2285)
OKLCHoklch(48.93% 0.229 273.7)
XYZxyz(17.3086, 10.2925, 70.1675)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4142DE #DEDD41
analogous
#4191DE #4142DE #8F41DE
triadic
#4142DE #DE4142 #42DE41
tetradic
#4142DE #DE4191 #DEDD41 #41DE8F
square
#4142DE #DE4191 #DEDD41 #41DE8F
split-complementary
#4142DE #DE8F41 #91DE41
monochromatic
#18198C #2122C0 #4142DE #7576E7 #A9AAF0

Accessibility & contrast

On white

6.87
#4142DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4142DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4142DE
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4142DE#FFFFFF#000000##FFFFFF
##4142DE1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062E3
Deuteranopia (green-blind)
#0053DB
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4142de;
/* rgb */ color: rgb(65, 66, 222);
/* oklch */ color: oklch(48.9% 0.229 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b78ea',
    500: '#4142de',
    950: '#000000',
  },
}
SCSS
$custom: #4142de;
$custom-light: #8b78ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4142de",
  "rgb": {
    "r": 65,
    "g": 66,
    "b": 222
  },
  "hsl": {
    "h": 239.618,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.48927,
    "c": 0.22899,
    "h": 273.7
  },
  "luminance": 0.10294
}

Semantic roles & 50–950 ramp

primary
#4142DE
secondary
#DEDD9D
accent
#EC3BED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4142DE

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

Preview Lab → · Contrast checker → · Palette generator →

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