#3A4099#3A4099

#3A4099 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.143 H 275.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3A4099
RGBrgb(58, 64, 153)
HSLhsl(236, 45%, 41%)
HSVhsv(236, 62%, 60%)
CMYKcmyk(62.1%, 58.2%, 0%, 40%)
CIE-LABlab(31.50, 25.88, -49.63)
CIE-LCHlch(31.50, 55.97, 297.54°)
OKLaboklab(41.97% 0.0136 -0.1426)
OKLCHoklch(41.97% 0.143 275.4)
XYZxyz(9.3262, 6.8655, 30.9645)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4099 #99933A
analogous
#3A7099 #3A4099 #643A99
triadic
#3A4099 #993A40 #40993A
tetradic
#3A4099 #993A70 #99933A #3A9964
square
#3A4099 #993A70 #99933A #3A9964
split-complementary
#3A4099 #99643A #70993A
monochromatic
#181B40 #292D6D #3A4099 #5359BE #7F84CE

Accessibility & contrast

On white

8.85
#3A4099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3A4099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4099
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4099#FFFFFF#000000##FFFFFF
##3A40991.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#004697
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a4099;
/* rgb */ color: rgb(58, 64, 153);
/* oklch */ color: oklch(42.0% 0.143 275.4);
Tailwind
colors: {
  custom: {
    50: '#7a74b8',
    500: '#3a4099',
    950: '#000000',
  },
}
SCSS
$custom: #3a4099;
$custom-light: #7a74b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4099",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 236.211,
    "s": 45.024,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41973,
    "c": 0.14321,
    "h": 275.4
  },
  "luminance": 0.06866
}

Semantic roles & 50–950 ramp

primary
#3A4099
secondary
#B8B477
accent
#CD53D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A4099

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

Preview Lab → · Contrast checker → · Palette generator →

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