#3E42DD#3E42DD

#3E42DD is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.7% C 0.229 H 272.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3E42DD
RGBrgb(62, 66, 221)
HSLhsl(238, 70%, 55%)
HSVhsv(238, 72%, 87%)
CMYKcmyk(71.9%, 70.1%, 0%, 13.3%)
CIE-LABlab(38.09, 48.46, -78.90)
CIE-LCHlch(38.09, 92.60, 301.56°)
OKLaboklab(48.66% 0.0115 -0.2282)
OKLCHoklch(48.66% 0.229 272.9)
XYZxyz(16.9816, 10.1393, 69.4547)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E42DD #DDD93E
analogous
#3E91DD #3E42DD #8A3EDD
triadic
#3E42DD #DD3E42 #42DD3E
tetradic
#3E42DD #DD3E91 #DDD93E #3EDD8A
square
#3E42DD #DD3E91 #DDD93E #3EDD8A
split-complementary
#3E42DD #DD8A3E #91DD3E
monochromatic
#181B89 #2125BD #3E42DD #7275E6 #A6A8EF

Accessibility & contrast

On white

6.93
#3E42DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3E42DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E42DD
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E42DD#FFFFFF#000000##FFFFFF
##3E42DD1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E2
Deuteranopia (green-blind)
#0052DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e42dd;
/* rgb */ color: rgb(62, 66, 221);
/* oklch */ color: oklch(48.7% 0.229 272.9);
Tailwind
colors: {
  custom: {
    50: '#8a77e9',
    500: '#3e42dd',
    950: '#000000',
  },
}
SCSS
$custom: #3e42dd;
$custom-light: #8a77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e42dd",
  "rgb": {
    "r": 62,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 238.491,
    "s": 70.044,
    "l": 55.49
  },
  "oklch": {
    "l": 0.48657,
    "c": 0.22853,
    "h": 272.9
  },
  "luminance": 0.10141
}

Semantic roles & 50–950 ramp

primary
#3E42DD
secondary
#DDDB9A
accent
#E83BED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3E42DD

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

Preview Lab → · Contrast checker → · Palette generator →

#3E42DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva