#3A499C#3A499C

#3A499C is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.135 H 272.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3A499C
RGBrgb(58, 73, 156)
HSLhsl(231, 46%, 42%)
HSVhsv(231, 63%, 61%)
CMYKcmyk(62.8%, 53.2%, 0%, 38.8%)
CIE-LABlab(34.12, 21.01, -47.21)
CIE-LCHlch(34.12, 51.68, 293.99°)
OKLaboklab(44% 0.0047 -0.1353)
OKLCHoklch(44% 0.135 272)
XYZxyz(10.1262, 8.0641, 32.4689)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A499C #9C8D3A
analogous
#3A7A9C #3A499C #5C3A9C
triadic
#3A499C #9C3A49 #499C3A
tetradic
#3A499C #9C3A7A #9C8D3A #3A9C5C
square
#3A499C #9C3A7A #9C8D3A #3A9C5C
split-complementary
#3A499C #9C5C3A #7A9C3A
monochromatic
#191F43 #29346F #3A499C #5464BF #808DD0

Accessibility & contrast

On white

8.04
#3A499C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3A499C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A499C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A499C#FFFFFF#000000##FFFFFF
##3A499C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17559F
Deuteranopia (green-blind)
#004C9A
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a499c;
/* rgb */ color: rgb(58, 73, 156);
/* oklch */ color: oklch(44.0% 0.135 272.0);
Tailwind
colors: {
  custom: {
    50: '#7a7bba',
    500: '#3a499c',
    950: '#000000',
  },
}
SCSS
$custom: #3a499c;
$custom-light: #7a7bba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a499c",
  "rgb": {
    "r": 58,
    "g": 73,
    "b": 156
  },
  "hsl": {
    "h": 230.816,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44003,
    "c": 0.13543,
    "h": 272
  },
  "luminance": 0.08065
}

Semantic roles & 50–950 ramp

primary
#3A499C
secondary
#BAB078
accent
#C152D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A499C

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

Preview Lab → · Contrast checker → · Palette generator →

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