#3A3E56#3A3E56

#3A3E56 is a dark, muted blue. Relative luminance 0.050; OKLCH L 37.1% C 0.042 H 276.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3A3E56
RGBrgb(58, 62, 86)
HSLhsl(231, 19%, 28%)
HSVhsv(231, 33%, 34%)
CMYKcmyk(32.6%, 27.9%, 0%, 66.3%)
CIE-LABlab(26.78, 4.76, -14.94)
CIE-LCHlch(26.78, 15.68, 287.67°)
OKLaboklab(37.05% 0.005 -0.0413)
OKLCHoklch(37.05% 0.042 276.8)
XYZxyz(5.1468, 5.0165, 9.4994)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3E56 #56523A
analogous
#3A4C56 #3A3E56 #443A56
triadic
#3A3E56 #563A3E #3E563A
tetradic
#3A3E56 #563A4C #56523A #3A5644
square
#3A3E56 #563A4C #56523A #3A5644
split-complementary
#3A3E56 #56443A #4C563A
monochromatic
#0C0D12 #212431 #3A3E56 #53587B #6E749D

Accessibility & contrast

On white

10.48
#3A3E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3A3E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3E56
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3E56#FFFFFF#000000##FFFFFF
##3A3E561.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374057
Deuteranopia (green-blind)
#353E55
Tritanopia (blue-blind)
#334246
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a3e56;
/* rgb */ color: rgb(58, 62, 86);
/* oklch */ color: oklch(37.1% 0.042 276.8);
Tailwind
colors: {
  custom: {
    50: '#717385',
    500: '#3a3e56',
    950: '#000000',
  },
}
SCSS
$custom: #3a3e56;
$custom-light: #717385;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3e56",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 86
  },
  "hsl": {
    "h": 231.429,
    "s": 19.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.37054,
    "c": 0.04162,
    "h": 276.8
  },
  "luminance": 0.05017
}

Semantic roles & 50–950 ramp

primary
#3A3E56
secondary
#868166
accent
#B16CBC
background
#F6F6F8
surface
#ECECEF
border
#C7C7CA
text
#07080B
muted
#7A7B7C

Preview Lab

Preview with #3A3E56

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

Preview Lab → · Contrast checker → · Palette generator →

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