#3A4AA2#3A4AA2

#3A4AA2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.143 H 271.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3A4AA2
RGBrgb(58, 74, 162)
HSLhsl(231, 47%, 43%)
HSVhsv(231, 64%, 64%)
CMYKcmyk(64.2%, 54.3%, 0%, 36.5%)
CIE-LABlab(34.81, 22.51, -49.70)
CIE-LCHlch(34.81, 54.56, 294.36°)
OKLaboklab(44.66% 0.0041 -0.1427)
OKLCHoklch(44.66% 0.143 271.7)
XYZxyz(10.7131, 8.4048, 35.2331)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4AA2 #A2923A
analogous
#3A7EA2 #3A4AA2 #5E3AA2
triadic
#3A4AA2 #A23A4A #4AA23A
tetradic
#3A4AA2 #A23A7E #A2923A #3AA25E
square
#3A4AA2 #A23A7E #A2923A #3AA25E
split-complementary
#3A4AA2 #A25E3A #7EA23A
monochromatic
#1A2148 #2A3575 #3A4AA2 #5767C3 #8490D3

Accessibility & contrast

On white

7.83
#3A4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3A4AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4AA2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4AA2#FFFFFF#000000##FFFFFF
##3A4AA21.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a4aa2;
/* rgb */ color: rgb(58, 74, 162);
/* oklch */ color: oklch(44.7% 0.143 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b7cbe',
    500: '#3a4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #3a4aa2;
$custom-light: #7b7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4aa2",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 230.769,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.14272,
    "h": 271.7
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#3A4AA2
secondary
#BDB37B
accent
#C251D7
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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