#3A4599#3A4599

#3A4599 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.136 H 273.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3A4599
RGBrgb(58, 69, 153)
HSLhsl(233, 45%, 41%)
HSVhsv(233, 62%, 60%)
CMYKcmyk(62.1%, 54.9%, 0%, 40%)
CIE-LABlab(32.82, 22.59, -47.49)
CIE-LCHlch(32.82, 52.58, 295.44°)
OKLaboklab(42.96% 0.0086 -0.1362)
OKLCHoklch(42.96% 0.136 273.6)
XYZxyz(9.6209, 7.4549, 31.0628)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4599 #998E3A
analogous
#3A7599 #3A4599 #5F3A99
triadic
#3A4599 #993A45 #45993A
tetradic
#3A4599 #993A75 #998E3A #3A995F
square
#3A4599 #993A75 #998E3A #3A995F
split-complementary
#3A4599 #995F3A #75993A
monochromatic
#181D40 #29316D #3A4599 #535FBE #7F88CE

Accessibility & contrast

On white

8.43
#3A4599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A4599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4599
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4599#FFFFFF#000000##FFFFFF
##3A45991.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C519C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a4599;
/* rgb */ color: rgb(58, 69, 153);
/* oklch */ color: oklch(43.0% 0.136 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a78b8',
    500: '#3a4599',
    950: '#000000',
  },
}
SCSS
$custom: #3a4599;
$custom-light: #7a78b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4599",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 153
  },
  "hsl": {
    "h": 233.053,
    "s": 45.024,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42961,
    "c": 0.13648,
    "h": 273.6
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#3A4599
secondary
#B8B077
accent
#C653D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3A4599

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

Preview Lab → · Contrast checker → · Palette generator →

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