#3A3852#3A3852

#3A3852 is a dark, muted blue. Relative luminance 0.043; OKLCH L 35.4% C 0.045 H 287.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#3A3852
RGBrgb(58, 56, 82)
HSLhsl(245, 19%, 27%)
HSVhsv(245, 32%, 32%)
CMYKcmyk(29.3%, 31.7%, 0%, 67.8%)
CIE-LABlab(24.76, 7.61, -15.45)
CIE-LCHlch(24.76, 17.22, 296.24°)
OKLaboklab(35.42% 0.0134 -0.0427)
OKLCHoklch(35.42% 0.045 287.4)
XYZxyz(4.6817, 4.3370, 8.5715)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3852 #505238
analogous
#384352 #3A3852 #473852
triadic
#3A3852 #523A38 #38523A
tetradic
#3A3852 #523843 #505238 #385247
square
#3A3852 #523843 #505238 #385247
split-complementary
#3A3852 #524738 #435238
monochromatic
#0D0C12 #201F2E #3A3852 #545176 #6E6B9A

Accessibility & contrast

On white

11.25
#3A3852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3A3852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3852
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3852#FFFFFF#000000##FFFFFF
##3A38521.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313B53
Deuteranopia (green-blind)
#313A51
Tritanopia (blue-blind)
#353D41
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3a3852;
/* rgb */ color: rgb(58, 56, 82);
/* oklch */ color: oklch(35.4% 0.045 287.4);
Tailwind
colors: {
  custom: {
    50: '#716e82',
    500: '#3a3852',
    950: '#000000',
  },
}
SCSS
$custom: #3a3852;
$custom-light: #716e82;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3852",
  "rgb": {
    "r": 58,
    "g": 56,
    "b": 82
  },
  "hsl": {
    "h": 244.615,
    "s": 18.841,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35423,
    "c": 0.04479,
    "h": 287.4
  },
  "luminance": 0.04337
}

Semantic roles & 50–950 ramp

primary
#3A3852
secondary
#808264
accent
#BB6CB5
background
#F6F6F8
surface
#ECEBEF
border
#C7C6CA
text
#07070A
muted
#7A7A7C

Preview Lab

Preview with #3A3852

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

Preview Lab → · Contrast checker → · Palette generator →

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