#3A3D79#3A3D79

#3A3D79 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.9% C 0.100 H 278.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3A3D79
RGBrgb(58, 61, 121)
HSLhsl(237, 35%, 35%)
HSVhsv(237, 52%, 47%)
CMYKcmyk(52.1%, 49.6%, 0%, 52.5%)
CIE-LABlab(28.43, 16.73, -34.79)
CIE-LCHlch(28.43, 38.60, 295.68°)
OKLaboklab(38.95% 0.0148 -0.0989)
OKLCHoklch(38.95% 0.1 278.5)
XYZxyz(6.8638, 5.6171, 18.8080)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3D79 #79763A
analogous
#3A5C79 #3A3D79 #573A79
triadic
#3A3D79 #793A3D #3D793A
tetradic
#3A3D79 #793A5C #79763A #3A7957
square
#3A3D79 #793A5C #79763A #3A7957
split-complementary
#3A3D79 #79573A #5C793A
monochromatic
#121326 #262850 #3A3D79 #4E52A2 #7275BB

Accessibility & contrast

On white

9.89
#3A3D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3A3D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3D79
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3D79#FFFFFF#000000##FFFFFF
##3A3D791.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467B
Deuteranopia (green-blind)
#1D4178
Tritanopia (blue-blind)
#214A55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a3d79;
/* rgb */ color: rgb(58, 61, 121);
/* oklch */ color: oklch(38.9% 0.100 278.5);
Tailwind
colors: {
  custom: {
    50: '#7572a0',
    500: '#3a3d79',
    950: '#000000',
  },
}
SCSS
$custom: #3a3d79;
$custom-light: #7572a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3d79",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 121
  },
  "hsl": {
    "h": 237.143,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.10005,
    "h": 278.5
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#3A3D79
secondary
#A5A26A
accent
#C65DCB
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#09080F
muted
#7B7B7E

Preview Lab

Preview with #3A3D79

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

Preview Lab → · Contrast checker → · Palette generator →

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