#3A46B7#3A46B7

#3A46B7 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.177 H 272.6°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3A46B7
RGBrgb(58, 70, 183)
HSLhsl(234, 52%, 47%)
HSVhsv(234, 68%, 72%)
CMYKcmyk(68.3%, 61.7%, 0%, 28.2%)
CIE-LABlab(35.40, 32.60, -61.25)
CIE-LCHlch(35.40, 69.39, 298.02°)
OKLaboklab(45.6% 0.0079 -0.1767)
OKLCHoklch(45.6% 0.177 272.6)
XYZxyz(12.4795, 8.6976, 45.8117)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46B7 #B7AB3A
analogous
#3A85B7 #3A46B7 #6D3AB7
triadic
#3A46B7 #B73A46 #46B73A
tetradic
#3A46B7 #B73A85 #B7AB3A #3AB76D
square
#3A46B7 #B73A85 #B7AB3A #3AB76D
split-complementary
#3A46B7 #B76D3A #85B73A
monochromatic
#1D225A #2B3489 #3A46B7 #616CCD #9097DC

Accessibility & contrast

On white

7.66
#3A46B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3A46B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46B7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46B7#FFFFFF#000000##FFFFFF
##3A46B71.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a46b7;
/* rgb */ color: rgb(58, 70, 183);
/* oklch */ color: oklch(45.6% 0.177 272.6);
Tailwind
colors: {
  custom: {
    50: '#8079ce',
    500: '#3a46b7',
    950: '#000000',
  },
}
SCSS
$custom: #3a46b7;
$custom-light: #8079ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46b7",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 183
  },
  "hsl": {
    "h": 234.24,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.17685,
    "h": 272.6
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#3A46B7
secondary
#C7C086
accent
#CE4CDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3A46B7

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

Preview Lab → · Contrast checker → · Palette generator →

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