#3E367F#3E367F

#3E367F is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.3% C 0.119 H 284.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#3E367F
RGBrgb(62, 54, 127)
HSLhsl(247, 40%, 35%)
HSVhsv(247, 57%, 50%)
CMYKcmyk(51.2%, 57.5%, 0%, 50.2%)
CIE-LABlab(27.28, 24.37, -40.38)
CIE-LCHlch(27.28, 47.16, 301.11°)
OKLaboklab(38.31% 0.0293 -0.1153)
OKLCHoklch(38.31% 0.119 284.2)
XYZxyz(7.1354, 5.1944, 20.7012)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E367F #777F36
analogous
#36537F #3E367F #62367F
triadic
#3E367F #7F3E36 #367F3E
tetradic
#3E367F #7F3653 #777F36 #367F62
square
#3E367F #7F3653 #777F36 #367F62
split-complementary
#3E367F #7F6236 #537F36
monochromatic
#141129 #292454 #3E367F #5348AA #776EC1

Accessibility & contrast

On white

10.30
#3E367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E367F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E367F#FFFFFF#000000##FFFFFF
##3E367F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094381
Deuteranopia (green-blind)
#033E7D
Tritanopia (blue-blind)
#264655
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e367f;
/* rgb */ color: rgb(62, 54, 127);
/* oklch */ color: oklch(38.3% 0.119 284.2);
Tailwind
colors: {
  custom: {
    50: '#796da5',
    500: '#3e367f',
    950: '#000000',
  },
}
SCSS
$custom: #3e367f;
$custom-light: #796da5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e367f",
  "rgb": {
    "r": 62,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 246.575,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38306,
    "c": 0.11898,
    "h": 284.2
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#3E367F
secondary
#A3AA67
accent
#D058C3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3E367F

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

Preview Lab → · Contrast checker → · Palette generator →

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