#3A46BB#3A46BB

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

Color values

HEX#3A46BB
RGBrgb(58, 70, 187)
HSLhsl(234, 53%, 48%)
HSVhsv(234, 69%, 73%)
CMYKcmyk(69%, 62.6%, 0%, 26.7%)
CIE-LABlab(35.73, 34.01, -63.07)
CIE-LCHlch(35.73, 71.65, 298.33°)
OKLaboklab(45.95% 0.0078 -0.182)
OKLCHoklch(45.95% 0.182 272.4)
XYZxyz(12.9017, 8.8665, 48.0356)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46BB #BBAF3A
analogous
#3A86BB #3A46BB #6F3ABB
triadic
#3A46BB #BB3A46 #46BB3A
tetradic
#3A46BB #BB3A86 #BBAF3A #3ABB6F
square
#3A46BB #BB3A86 #BBAF3A #3ABB6F
split-complementary
#3A46BB #BB6F3A #86BB3A
monochromatic
#1D235E #2C358C #3A46BB #636DCF #9299DD

Accessibility & contrast

On white

7.57
#3A46BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3A46BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46BB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46BB#FFFFFF#000000##FFFFFF
##3A46BB1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a46bb;
/* rgb */ color: rgb(58, 70, 187);
/* oklch */ color: oklch(46.0% 0.182 272.4);
Tailwind
colors: {
  custom: {
    50: '#8179d0',
    500: '#3a46bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a46bb;
$custom-light: #8179d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46bb",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 234.419,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.18217,
    "h": 272.4
  },
  "luminance": 0.08868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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