#3A46BC#3A46BC

#3A46BC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.183 H 272.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#3A46BC
RGBrgb(58, 70, 188)
HSLhsl(234, 53%, 48%)
HSVhsv(234, 69%, 74%)
CMYKcmyk(69.1%, 62.8%, 0%, 26.3%)
CIE-LABlab(35.81, 34.36, -63.52)
CIE-LCHlch(35.81, 72.22, 298.41°)
OKLaboklab(46.04% 0.0077 -0.1833)
OKLCHoklch(46.04% 0.183 272.4)
XYZxyz(13.0091, 8.9095, 48.6013)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46BC #BCB03A
analogous
#3A87BC #3A46BC #6F3ABC
triadic
#3A46BC #BC3A46 #46BC3A
tetradic
#3A46BC #BC3A87 #BCB03A #3ABC6F
square
#3A46BC #BC3A87 #BCB03A #3ABC6F
split-complementary
#3A46BC #BC6F3A #87BC3A
monochromatic
#1D235E #2C358D #3A46BC #646ECF #939ADE

Accessibility & contrast

On white

7.55
#3A46BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3A46BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46BC
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46BC#FFFFFF#000000##FFFFFF
##3A46BC1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a46bc;
/* rgb */ color: rgb(58, 70, 188);
/* oklch */ color: oklch(46.0% 0.183 272.4);
Tailwind
colors: {
  custom: {
    50: '#8179d1',
    500: '#3a46bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a46bc;
$custom-light: #8179d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46bc",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 234.462,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46038,
    "c": 0.18348,
    "h": 272.4
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#3A46BC
secondary
#C9C389
accent
#CF4CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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