#3A4CB9#3A4CB9

#3A4CB9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.172 H 271.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3A4CB9
RGBrgb(58, 76, 185)
HSLhsl(231, 52%, 48%)
HSVhsv(231, 69%, 73%)
CMYKcmyk(68.6%, 58.9%, 0%, 27.5%)
CIE-LABlab(37.06, 29.46, -59.72)
CIE-LCHlch(37.06, 66.59, 296.26°)
OKLaboklab(46.89% 0.0031 -0.1721)
OKLCHoklch(46.89% 0.172 271)
XYZxyz(13.0834, 9.5700, 47.0472)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CB9 #B9A73A
analogous
#3A8BB9 #3A4CB9 #673AB9
triadic
#3A4CB9 #B93A4C #4CB93A
tetradic
#3A4CB9 #B93A8B #B9A73A #3AB967
square
#3A4CB9 #B93A8B #B9A73A #3AB967
split-complementary
#3A4CB9 #B9673A #8BB93A
monochromatic
#1D265C #2B398A #3A4CB9 #6272CE #919CDC

Accessibility & contrast

On white

7.21
#3A4CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3A4CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4CB9
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CB9#FFFFFF#000000##FFFFFF
##3A4CB91.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4cb9;
/* rgb */ color: rgb(58, 76, 185);
/* oklch */ color: oklch(46.9% 0.172 271.0);
Tailwind
colors: {
  custom: {
    50: '#807dcf',
    500: '#3a4cb9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cb9;
$custom-light: #807dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cb9",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 231.496,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46887,
    "c": 0.17213,
    "h": 271
  },
  "luminance": 0.09571
}

Semantic roles & 50–950 ramp

primary
#3A4CB9
secondary
#C7BE87
accent
#C74CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3A4CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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