#3A3E71#3A3E71

#3A3E71 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.6% C 0.086 H 278.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3A3E71
RGBrgb(58, 62, 113)
HSLhsl(236, 32%, 34%)
HSVhsv(236, 49%, 44%)
CMYKcmyk(48.7%, 45.1%, 0%, 55.7%)
CIE-LABlab(28.21, 13.35, -30.07)
CIE-LCHlch(28.21, 32.90, 293.93°)
OKLaboklab(38.62% 0.0122 -0.0851)
OKLCHoklch(38.62% 0.086 278.2)
XYZxyz(6.4473, 5.5367, 16.3486)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3E71 #716D3A
analogous
#3A5971 #3A3E71 #513A71
triadic
#3A3E71 #713A3E #3E713A
tetradic
#3A3E71 #713A59 #716D3A #3A7151
square
#3A3E71 #713A59 #716D3A #3A7151
split-complementary
#3A3E71 #71513A #59713A
monochromatic
#101220 #252849 #3A3E71 #4F5499 #7075B6

Accessibility & contrast

On white

9.96
#3A3E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3A3E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3E71
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3E71#FFFFFF#000000##FFFFFF
##3A3E711.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4573
Deuteranopia (green-blind)
#264170
Tritanopia (blue-blind)
#274952
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a3e71;
/* rgb */ color: rgb(58, 62, 113);
/* oklch */ color: oklch(38.6% 0.086 278.2);
Tailwind
colors: {
  custom: {
    50: '#74739a',
    500: '#3a3e71',
    950: '#000000',
  },
}
SCSS
$custom: #3a3e71;
$custom-light: #74739a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3e71",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 113
  },
  "hsl": {
    "h": 235.636,
    "s": 32.164,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38623,
    "c": 0.08599,
    "h": 278.2
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#3A3E71
secondary
#9F9B68
accent
#C15FC8
background
#F7F6F9
surface
#EDECF2
border
#C8C7CC
text
#08080E
muted
#7B7B7E

Preview Lab

Preview with #3A3E71

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

Preview Lab → · Contrast checker → · Palette generator →

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