#3A4499#3A4499

#3A4499 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.138 H 274.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3A4499
RGBrgb(58, 68, 153)
HSLhsl(234, 45%, 41%)
HSVhsv(234, 62%, 60%)
CMYKcmyk(62.1%, 55.6%, 0%, 40%)
CIE-LABlab(32.55, 23.25, -47.92)
CIE-LCHlch(32.55, 53.26, 295.88°)
OKLaboklab(42.76% 0.0096 -0.1375)
OKLCHoklch(42.76% 0.138 274)
XYZxyz(9.5599, 7.3329, 31.0424)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4499 #998F3A
analogous
#3A7499 #3A4499 #603A99
triadic
#3A4499 #993A44 #44993A
tetradic
#3A4499 #993A74 #998F3A #3A9960
square
#3A4499 #993A74 #998F3A #3A9960
split-complementary
#3A4499 #99603A #74993A
monochromatic
#181D40 #29306D #3A4499 #535EBE #7F87CE

Accessibility & contrast

On white

8.51
#3A4499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3A4499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4499
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4499#FFFFFF#000000##FFFFFF
##3A44991.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07519C
Deuteranopia (green-blind)
#004997
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a4499;
/* rgb */ color: rgb(58, 68, 153);
/* oklch */ color: oklch(42.8% 0.138 274.0);
Tailwind
colors: {
  custom: {
    50: '#7a77b8',
    500: '#3a4499',
    950: '#000000',
  },
}
SCSS
$custom: #3a4499;
$custom-light: #7a77b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4499",
  "rgb": {
    "r": 58,
    "g": 68,
    "b": 153
  },
  "hsl": {
    "h": 233.684,
    "s": 45.024,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.13782,
    "h": 274
  },
  "luminance": 0.07334
}

Semantic roles & 50–950 ramp

primary
#3A4499
secondary
#B8B177
accent
#C753D5
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A4499

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

Preview Lab → · Contrast checker → · Palette generator →

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