#3A4397#3A4397

#3A4397 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.136 H 274.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3A4397
RGBrgb(58, 67, 151)
HSLhsl(234, 44%, 41%)
HSVhsv(234, 62%, 59%)
CMYKcmyk(61.6%, 55.6%, 0%, 40.8%)
CIE-LABlab(32.14, 23.20, -47.37)
CIE-LCHlch(32.14, 52.75, 296.09°)
OKLaboklab(42.41% 0.0105 -0.1359)
OKLCHoklch(42.41% 0.136 274.4)
XYZxyz(9.3362, 7.1475, 30.1598)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4397 #978E3A
analogous
#3A7197 #3A4397 #5F3A97
triadic
#3A4397 #973A43 #43973A
tetradic
#3A4397 #973A71 #978E3A #3A975F
square
#3A4397 #973A71 #978E3A #3A975F
split-complementary
#3A4397 #975F3A #71973A
monochromatic
#181C3F #292F6B #3A4397 #525CBC #7E86CD

Accessibility & contrast

On white

8.64
#3A4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A4397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4397
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4397#FFFFFF#000000##FFFFFF
##3A43971.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a4397;
/* rgb */ color: rgb(58, 67, 151);
/* oklch */ color: oklch(42.4% 0.136 274.4);
Tailwind
colors: {
  custom: {
    50: '#7a77b6',
    500: '#3a4397',
    950: '#000000',
  },
}
SCSS
$custom: #3a4397;
$custom-light: #7a77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4397",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 234.194,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42405,
    "c": 0.1363,
    "h": 274.4
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#3A4397
secondary
#B7B176
accent
#C854D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A4397

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

Preview Lab → · Contrast checker → · Palette generator →

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