#3A46BD#3A46BD

#3A46BD is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.185 H 272.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3A46BD
RGBrgb(58, 70, 189)
HSLhsl(235, 53%, 48%)
HSVhsv(235, 69%, 74%)
CMYKcmyk(69.3%, 63%, 0%, 25.9%)
CIE-LABlab(35.89, 34.71, -63.97)
CIE-LCHlch(35.89, 72.78, 298.48°)
OKLaboklab(46.13% 0.0077 -0.1846)
OKLCHoklch(46.13% 0.185 272.4)
XYZxyz(13.1173, 8.9527, 49.1710)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46BD #BDB13A
analogous
#3A87BD #3A46BD #6F3ABD
triadic
#3A46BD #BD3A46 #46BD3A
tetradic
#3A46BD #BD3A87 #BDB13A #3ABD6F
square
#3A46BD #BD3A87 #BDB13A #3ABD6F
split-complementary
#3A46BD #BD6F3A #87BD3A
monochromatic
#1D235F #2C358E #3A46BD #656ED0 #939ADE

Accessibility & contrast

On white

7.52
#3A46BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3A46BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46BD
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46BD#FFFFFF#000000##FFFFFF
##3A46BD1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a46bd;
/* rgb */ color: rgb(58, 70, 189);
/* oklch */ color: oklch(46.1% 0.185 272.4);
Tailwind
colors: {
  custom: {
    50: '#8179d2',
    500: '#3a46bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a46bd;
$custom-light: #8179d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46bd",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 234.504,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46125,
    "c": 0.1848,
    "h": 272.4
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#3A46BD
secondary
#C9C38A
accent
#CF4BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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