#3A4AA6#3A4AA6

#3A4AA6 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.148 H 271.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3A4AA6
RGBrgb(58, 74, 166)
HSLhsl(231, 48%, 44%)
HSVhsv(231, 65%, 65%)
CMYKcmyk(65.1%, 55.4%, 0%, 34.9%)
CIE-LABlab(35.10, 23.94, -51.63)
CIE-LCHlch(35.10, 56.91, 294.88°)
OKLaboklab(44.97% 0.0044 -0.1483)
OKLCHoklch(44.97% 0.148 271.7)
XYZxyz(11.0743, 8.5493, 37.1356)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4AA6 #A6963A
analogous
#3A80A6 #3A4AA6 #603AA6
triadic
#3A4AA6 #A63A4A #4AA63A
tetradic
#3A4AA6 #A63A80 #A6963A #3AA660
square
#3A4AA6 #A63A80 #A6963A #3AA660
split-complementary
#3A4AA6 #A6603A #80A63A
monochromatic
#1A224B #2A3679 #3A4AA6 #5868C5 #8691D5

Accessibility & contrast

On white

7.75
#3A4AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3A4AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4AA6
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4AA6#FFFFFF#000000##FFFFFF
##3A4AA61.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0158A9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a4aa6;
/* rgb */ color: rgb(58, 74, 166);
/* oklch */ color: oklch(45.0% 0.148 271.7);
Tailwind
colors: {
  custom: {
    50: '#7c7cc1',
    500: '#3a4aa6',
    950: '#000000',
  },
}
SCSS
$custom: #3a4aa6;
$custom-light: #7c7cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4aa6",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 166
  },
  "hsl": {
    "h": 231.111,
    "s": 48.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44972,
    "c": 0.1484,
    "h": 271.7
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#3A4AA6
secondary
#BFB57D
accent
#C450D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3A4AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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