#3A439D#3A439D

#3A439D is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.145 H 274.2°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#3A439D
RGBrgb(58, 67, 157)
HSLhsl(235, 46%, 42%)
HSVhsv(235, 63%, 62%)
CMYKcmyk(63.1%, 57.3%, 0%, 38.4%)
CIE-LABlab(32.59, 25.33, -50.29)
CIE-LCHlch(32.59, 56.31, 296.73°)
OKLaboklab(42.88% 0.0107 -0.1445)
OKLCHoklch(42.88% 0.145 274.2)
XYZxyz(9.8359, 7.3474, 32.7916)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A439D #9D943A
analogous
#3A759D #3A439D #623A9D
triadic
#3A439D #9D3A43 #439D3A
tetradic
#3A439D #9D3A75 #9D943A #3A9D62
square
#3A439D #9D3A75 #9D943A #3A9D62
split-complementary
#3A439D #9D623A #759D3A
monochromatic
#191D44 #293070 #3A439D #545EC0 #8188D0

Accessibility & contrast

On white

8.50
#3A439D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A439D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A439D#FFFFFF#000000##FFFFFF
##3A439D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a439d;
/* rgb */ color: rgb(58, 67, 157);
/* oklch */ color: oklch(42.9% 0.145 274.2);
Tailwind
colors: {
  custom: {
    50: '#7b77bb',
    500: '#3a439d',
    950: '#000000',
  },
}
SCSS
$custom: #3a439d;
$custom-light: #7b77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a439d",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 234.545,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42878,
    "c": 0.14488,
    "h": 274.2
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#3A439D
secondary
#BAB479
accent
#CA52D6
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3A439D

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

Preview Lab → · Contrast checker → · Palette generator →

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