#3A3D64#3A3D64

#3A3D64 is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.067 H 279.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#3A3D64
RGBrgb(58, 61, 100)
HSLhsl(236, 27%, 31%)
HSVhsv(236, 42%, 39%)
CMYKcmyk(42%, 39%, 0%, 60.8%)
CIE-LABlab(27.18, 9.75, -23.40)
CIE-LCHlch(27.18, 25.35, 292.63°)
OKLaboklab(37.59% 0.0108 -0.0657)
OKLCHoklch(37.59% 0.067 279.3)
XYZxyz(5.7132, 5.1569, 12.7485)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3D64 #64613A
analogous
#3A5264 #3A3D64 #4C3A64
triadic
#3A3D64 #643A3D #3D643A
tetradic
#3A3D64 #643A52 #64613A #3A644C
square
#3A3D64 #643A52 #64613A #3A644C
split-complementary
#3A3D64 #644C3A #52643A
monochromatic
#0D0E17 #24253D #3A3D64 #50558B #6E72AB

Accessibility & contrast

On white

10.34
#3A3D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3D64
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3D64#FFFFFF#000000##FFFFFF
##3A3D641.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304266
Deuteranopia (green-blind)
#2D3F63
Tritanopia (blue-blind)
#2D454B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a3d64;
/* rgb */ color: rgb(58, 61, 100);
/* oklch */ color: oklch(37.6% 0.067 279.3);
Tailwind
colors: {
  custom: {
    50: '#727290',
    500: '#3a3d64',
    950: '#000000',
  },
}
SCSS
$custom: #3a3d64;
$custom-light: #727290;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3d64",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 100
  },
  "hsl": {
    "h": 235.714,
    "s": 26.582,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37589,
    "c": 0.06654,
    "h": 279.3
  },
  "luminance": 0.05157
}

Semantic roles & 50–950 ramp

primary
#3A3D64
secondary
#949166
accent
#BC65C3
background
#F7F6F8
surface
#EDECF0
border
#C8C7CB
text
#08080C
muted
#7B7B7D

Preview Lab

Preview with #3A3D64

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

Preview Lab → · Contrast checker → · Palette generator →

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