#3A4ABA#3A4ABA

#3A4ABA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.6% C 0.176 H 271.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3A4ABA
RGBrgb(58, 74, 186)
HSLhsl(233, 52%, 48%)
HSVhsv(233, 69%, 73%)
CMYKcmyk(68.8%, 60.2%, 0%, 27.1%)
CIE-LABlab(36.63, 31.10, -61.00)
CIE-LCHlch(36.63, 68.47, 297.02°)
OKLaboklab(46.6% 0.0047 -0.1759)
OKLCHoklch(46.6% 0.176 271.5)
XYZxyz(13.0536, 9.3410, 47.5599)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4ABA #BAAA3A
analogous
#3A8ABA #3A4ABA #6A3ABA
triadic
#3A4ABA #BA3A4A #4ABA3A
tetradic
#3A4ABA #BA3A8A #BAAA3A #3ABA6A
square
#3A4ABA #BA3A8A #BAAA3A #3ABA6A
split-complementary
#3A4ABA #BA6A3A #8ABA3A
monochromatic
#1D255D #2B378B #3A4ABA #6370CE #929BDD

Accessibility & contrast

On white

7.32
#3A4ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3A4ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4ABA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4ABA#FFFFFF#000000##FFFFFF
##3A4ABA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4aba;
/* rgb */ color: rgb(58, 74, 186);
/* oklch */ color: oklch(46.6% 0.176 271.5);
Tailwind
colors: {
  custom: {
    50: '#807cd0',
    500: '#3a4aba',
    950: '#000000',
  },
}
SCSS
$custom: #3a4aba;
$custom-light: #807cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4aba",
  "rgb": {
    "r": 58,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 232.5,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.17595,
    "h": 271.5
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#3A4ABA
secondary
#C8C088
accent
#CA4CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3A4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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