#3A46BA#3A46BA

#3A46BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.9% C 0.181 H 272.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#3A46BA
RGBrgb(58, 70, 186)
HSLhsl(234, 52%, 48%)
HSVhsv(234, 69%, 73%)
CMYKcmyk(68.8%, 62.4%, 0%, 27.1%)
CIE-LABlab(35.64, 33.66, -62.62)
CIE-LCHlch(35.64, 71.09, 298.26°)
OKLaboklab(45.86% 0.0078 -0.1807)
OKLCHoklch(45.86% 0.181 272.5)
XYZxyz(12.7950, 8.8238, 47.4737)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46BA #BAAE3A
analogous
#3A86BA #3A46BA #6E3ABA
triadic
#3A46BA #BA3A46 #46BA3A
tetradic
#3A46BA #BA3A86 #BAAE3A #3ABA6E
square
#3A46BA #BA3A86 #BAAE3A #3ABA6E
split-complementary
#3A46BA #BA6E3A #86BA3A
monochromatic
#1D235D #2B348B #3A46BA #636DCE #9299DD

Accessibility & contrast

On white

7.59
#3A46BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A46BA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46BA#FFFFFF#000000##FFFFFF
##3A46BA1.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a46ba;
/* rgb */ color: rgb(58, 70, 186);
/* oklch */ color: oklch(45.9% 0.181 272.5);
Tailwind
colors: {
  custom: {
    50: '#8079d0',
    500: '#3a46ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a46ba;
$custom-light: #8079d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46ba",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 234.375,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.45864,
    "c": 0.18084,
    "h": 272.5
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#3A46BA
secondary
#C8C288
accent
#CE4CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3A46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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