#3E3F7D#3E3F7D

#3E3F7D is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.0% C 0.102 H 280.0°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#3E3F7D
RGBrgb(62, 63, 125)
HSLhsl(239, 34%, 37%)
HSVhsv(239, 50%, 49%)
CMYKcmyk(50.4%, 49.6%, 0%, 51%)
CIE-LABlab(29.56, 17.73, -35.46)
CIE-LCHlch(29.56, 39.65, 296.57°)
OKLaboklab(39.97% 0.0178 -0.1008)
OKLCHoklch(39.97% 0.102 280)
XYZxyz(7.4647, 6.0594, 20.1743)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3F7D #7D7C3E
analogous
#3E5F7D #3E3F7D #5D3E7D
triadic
#3E3F7D #7D3E3F #3F7D3E
tetradic
#3E3F7D #7D3E5F #7D7C3E #3E7D5D
square
#3E3F7D #7D3E5F #7D7C3E #3E7D5D
split-complementary
#3E3F7D #7D5D3E #5F7D3E
monochromatic
#15162B #2A2A54 #3E3F7D #5254A6 #797ABC

Accessibility & contrast

On white

9.49
#3E3F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3E3F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3F7D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3F7D#FFFFFF#000000##FFFFFF
##3E3F7D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487F
Deuteranopia (green-blind)
#1F437C
Tritanopia (blue-blind)
#274C58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e3f7d;
/* rgb */ color: rgb(62, 63, 125);
/* oklch */ color: oklch(40.0% 0.102 280.0);
Tailwind
colors: {
  custom: {
    50: '#7874a3',
    500: '#3e3f7d',
    950: '#000000',
  },
}
SCSS
$custom: #3e3f7d;
$custom-light: #7874a3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3f7d",
  "rgb": {
    "r": 62,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 239.048,
    "s": 33.69,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.10237,
    "h": 280
  },
  "luminance": 0.0606
}

Semantic roles & 50–950 ramp

primary
#3E3F7D
secondary
#A7A670
accent
#C85ECA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09080F
muted
#7B7B7F

Preview Lab

Preview with #3E3F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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