#3A4AAC#3A4AAC

#3A4AAC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.157 H 271.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3A4AAC
RGBrgb(58, 74, 172)
HSLhsl(232, 50%, 45%)
HSVhsv(232, 66%, 67%)
CMYKcmyk(66.3%, 57%, 0%, 32.5%)
CIE-LABlab(35.55, 26.10, -54.49)
CIE-LCHlch(35.55, 60.42, 295.59°)
OKLaboklab(45.45% 0.0046 -0.1567)
OKLCHoklch(45.45% 0.157 271.7)
XYZxyz(11.6376, 8.7746, 40.1021)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4AAC #AC9C3A
analogous
#3A83AC #3A4AAC #633AAC
triadic
#3A4AAC #AC3A4A #4AAC3A
tetradic
#3A4AAC #AC3A83 #AC9C3A #3AAC63
square
#3A4AAC #AC3A83 #AC9C3A #3AAC63
split-complementary
#3A4AAC #AC633A #83AC3A
monochromatic
#1B2350 #2B367E #3A4AAC #5B6BC8 #8994D7

Accessibility & contrast

On white

7.62
#3A4AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3A4AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4AAC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4AAC#FFFFFF#000000##FFFFFF
##3A4AAC1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a4aac;
/* rgb */ color: rgb(58, 74, 172);
/* oklch */ color: oklch(45.4% 0.157 271.7);
Tailwind
colors: {
  custom: {
    50: '#7d7cc5',
    500: '#3a4aac',
    950: '#000000',
  },
}
SCSS
$custom: #3a4aac;
$custom-light: #7d7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4aac",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 172
  },
  "hsl": {
    "h": 231.579,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45446,
    "c": 0.15682,
    "h": 271.7
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#3A4AAC
secondary
#C2B880
accent
#C64FD9
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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