#3E367E#3E367E

#3E367E is a dark, moderate blue. Relative luminance 0.052; OKLCH L 38.2% C 0.118 H 284.4°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3E367E
RGBrgb(62, 54, 126)
HSLhsl(247, 40%, 35%)
HSVhsv(247, 57%, 49%)
CMYKcmyk(50.8%, 57.1%, 0%, 50.6%)
CIE-LABlab(27.21, 24.04, -39.87)
CIE-LCHlch(27.21, 46.55, 301.09°)
OKLaboklab(38.23% 0.0292 -0.1138)
OKLCHoklch(38.23% 0.118 284.4)
XYZxyz(7.0705, 5.1685, 20.3597)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E367E #767E36
analogous
#36527E #3E367E #62367E
triadic
#3E367E #7E3E36 #367E3E
tetradic
#3E367E #7E3652 #767E36 #367E62
square
#3E367E #7E3652 #767E36 #367E62
split-complementary
#3E367E #7E6236 #527E36
monochromatic
#141128 #292453 #3E367E #5348A9 #776EC1

Accessibility & contrast

On white

10.33
#3E367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3E367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E367E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E367E#FFFFFF#000000##FFFFFF
##3E367E1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4280
Deuteranopia (green-blind)
#063E7C
Tritanopia (blue-blind)
#274654
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e367e;
/* rgb */ color: rgb(62, 54, 126);
/* oklch */ color: oklch(38.2% 0.118 284.4);
Tailwind
colors: {
  custom: {
    50: '#786da4',
    500: '#3e367e',
    950: '#000000',
  },
}
SCSS
$custom: #3e367e;
$custom-light: #786da4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e367e",
  "rgb": {
    "r": 62,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 246.667,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3823,
    "c": 0.11751,
    "h": 284.4
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E367E

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

Preview Lab → · Contrast checker → · Palette generator →

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