#3E4095#3E4095

#3E4095 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.137 H 277.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3E4095
RGBrgb(62, 64, 149)
HSLhsl(239, 41%, 41%)
HSVhsv(239, 58%, 58%)
CMYKcmyk(58.4%, 57%, 0%, 41.6%)
CIE-LABlab(31.49, 25.25, -47.20)
CIE-LCHlch(31.49, 53.53, 298.14°)
OKLaboklab(41.94% 0.0184 -0.1353)
OKLCHoklch(41.94% 0.137 277.7)
XYZxyz(9.2431, 6.8602, 29.2650)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4095 #95933E
analogous
#3E6C95 #3E4095 #683E95
triadic
#3E4095 #953E40 #40953E
tetradic
#3E4095 #953E6C #95933E #3E9568
square
#3E4095 #953E6C #95933E #3E9568
split-complementary
#3E4095 #95683E #6C953E
monochromatic
#1A1B3F #2C2D6A #3E4095 #5759B9 #8284CB

Accessibility & contrast

On white

8.85
#3E4095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3E4095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4095
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4095#FFFFFF#000000##FFFFFF
##3E40951.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#095464
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e4095;
/* rgb */ color: rgb(62, 64, 149);
/* oklch */ color: oklch(41.9% 0.137 277.7);
Tailwind
colors: {
  custom: {
    50: '#7c74b5',
    500: '#3e4095',
    950: '#000000',
  },
}
SCSS
$custom: #3e4095;
$custom-light: #7c74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4095",
  "rgb": {
    "r": 62,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 238.621,
    "s": 41.232,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41944,
    "c": 0.13654,
    "h": 277.7
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#3E4095
secondary
#B5B47A
accent
#CE57D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3E4095

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

Preview Lab → · Contrast checker → · Palette generator →

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