#3E4CDC#3E4CDC

#3E4CDC is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.1% C 0.217 H 271.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3E4CDC
RGBrgb(62, 76, 220)
HSLhsl(235, 69%, 55%)
HSVhsv(235, 72%, 86%)
CMYKcmyk(71.8%, 65.5%, 0%, 13.7%)
CIE-LABlab(40.18, 42.22, -74.90)
CIE-LCHlch(40.18, 85.98, 299.41°)
OKLaboklab(50.14% 0.0059 -0.2165)
OKLCHoklch(50.14% 0.217 271.6)
XYZxyz(17.4849, 11.3585, 68.9672)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4CDC #DCCE3E
analogous
#3E9BDC #3E4CDC #7F3EDC
triadic
#3E4CDC #DC3E4C #4CDC3E
tetradic
#3E4CDC #DC3E9B #DCCE3E #3EDC7F
square
#3E4CDC #DC3E9B #DCCE3E #3EDC7F
split-complementary
#3E4CDC #DC7F3E #9BDC3E
monochromatic
#192287 #222FBB #3E4CDC #727CE5 #A6ACEF

Accessibility & contrast

On white

6.42
#3E4CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3E4CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4CDC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4CDC#FFFFFF#000000##FFFFFF
##3E4CDC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#00728D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3e4cdc;
/* rgb */ color: rgb(62, 76, 220);
/* oklch */ color: oklch(50.1% 0.217 271.6);
Tailwind
colors: {
  custom: {
    50: '#897ee8',
    500: '#3e4cdc',
    950: '#000000',
  },
}
SCSS
$custom: #3e4cdc;
$custom-light: #897ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4cdc",
  "rgb": {
    "r": 62,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 234.684,
    "s": 69.298,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50139,
    "c": 0.21661,
    "h": 271.6
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#3E4CDC
secondary
#DCD69A
accent
#DC3CEC
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3E4CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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