#3E419C#3E419C

#3E419C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.145 H 276.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#3E419C
RGBrgb(62, 65, 156)
HSLhsl(238, 43%, 43%)
HSVhsv(238, 60%, 61%)
CMYKcmyk(60.3%, 58.3%, 0%, 38.8%)
CIE-LABlab(32.27, 27.01, -50.19)
CIE-LCHlch(32.27, 57.00, 298.29°)
OKLaboklab(42.69% 0.0174 -0.1441)
OKLCHoklch(42.69% 0.145 276.9)
XYZxyz(9.8757, 7.2043, 32.3162)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E419C #9C993E
analogous
#3E709C #3E419C #6A3E9C
triadic
#3E419C #9C3E41 #419C3E
tetradic
#3E419C #9C3E70 #9C993E #3E9C6A
square
#3E419C #9C3E70 #9C993E #3E9C6A
split-complementary
#3E419C #9C6A3E #709C3E
monochromatic
#1B1D44 #2D2F70 #3E419C #5A5DBD #8688CF

Accessibility & contrast

On white

8.60
#3E419C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3E419C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E419C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E419C#FFFFFF#000000##FFFFFF
##3E419C1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e419c;
/* rgb */ color: rgb(62, 65, 156);
/* oklch */ color: oklch(42.7% 0.145 276.9);
Tailwind
colors: {
  custom: {
    50: '#7d75ba',
    500: '#3e419c',
    950: '#000000',
  },
}
SCSS
$custom: #3e419c;
$custom-light: #7d75ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e419c",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 156
  },
  "hsl": {
    "h": 238.085,
    "s": 43.119,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4269,
    "c": 0.14514,
    "h": 276.9
  },
  "luminance": 0.07205
}

Semantic roles & 50–950 ramp

primary
#3E419C
secondary
#B9B77D
accent
#CF55D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3E419C

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

Preview Lab → · Contrast checker → · Palette generator →

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