#3A3C4E#3A3C4E

#3A3C4E is a dark, muted blue. Relative luminance 0.047; OKLCH L 36.2% C 0.031 H 279.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3A3C4E
RGBrgb(58, 60, 78)
HSLhsl(234, 15%, 27%)
HSVhsv(234, 26%, 31%)
CMYKcmyk(25.6%, 23.1%, 0%, 69.4%)
CIE-LABlab(25.81, 3.78, -11.20)
CIE-LCHlch(25.81, 11.82, 288.68°)
OKLaboklab(36.18% 0.0053 -0.0307)
OKLCHoklch(36.18% 0.031 279.8)
XYZxyz(4.7356, 4.6812, 7.8603)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3C4E #4E4C3A
analogous
#3A464E #3A3C4E #423A4E
triadic
#3A3C4E #4E3A3C #3C4E3A
tetradic
#3A3C4E #4E3A46 #4E4C3A #3A4E42
square
#3A3C4E #4E3A46 #4E4C3A #3A4E42
split-complementary
#3A3C4E #4E423A #464E3A
monochromatic
#0D0D12 #20212B #3A3C4E #545771 #6F7294

Accessibility & contrast

On white

10.85
#3A3C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3A3C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3C4E
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3C4E#FFFFFF#000000##FFFFFF
##3A3C4E1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373E4F
Deuteranopia (green-blind)
#363C4E
Tritanopia (blue-blind)
#353F42
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a3c4e;
/* rgb */ color: rgb(58, 60, 78);
/* oklch */ color: oklch(36.2% 0.031 279.8);
Tailwind
colors: {
  custom: {
    50: '#70717f',
    500: '#3a3c4e',
    950: '#000000',
  },
}
SCSS
$custom: #3a3c4e;
$custom-light: #70717f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3c4e",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 78
  },
  "hsl": {
    "h": 234,
    "s": 14.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36178,
    "c": 0.03115,
    "h": 279.8
  },
  "luminance": 0.04681
}

Semantic roles & 50–950 ramp

primary
#3A3C4E
secondary
#7E7B66
accent
#B070B7
background
#F6F6F7
surface
#ECECEE
border
#C7C7C9
text
#07070A
muted
#7A7A7C

Preview Lab

Preview with #3A3C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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