#3A46B5#3A46B5

#3A46B5 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.174 H 272.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#3A46B5
RGBrgb(58, 70, 181)
HSLhsl(234, 51%, 47%)
HSVhsv(234, 68%, 71%)
CMYKcmyk(68%, 61.3%, 0%, 29%)
CIE-LABlab(35.23, 31.89, -60.34)
CIE-LCHlch(35.23, 68.25, 297.86°)
OKLaboklab(45.43% 0.008 -0.174)
OKLCHoklch(45.43% 0.174 272.6)
XYZxyz(12.2728, 8.6149, 44.7232)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46B5 #B5A93A
analogous
#3A84B5 #3A46B5 #6B3AB5
triadic
#3A46B5 #B53A46 #46B53A
tetradic
#3A46B5 #B53A84 #B5A93A #3AB56B
square
#3A46B5 #B53A84 #B5A93A #3AB56B
split-complementary
#3A46B5 #B56B3A #84B53A
monochromatic
#1C2258 #2B3487 #3A46B5 #606BCC #8E96DB

Accessibility & contrast

On white

7.71
#3A46B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3A46B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46B5
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46B5#FFFFFF#000000##FFFFFF
##3A46B51.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006277
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a46b5;
/* rgb */ color: rgb(58, 70, 181);
/* oklch */ color: oklch(45.4% 0.174 272.6);
Tailwind
colors: {
  custom: {
    50: '#7f79cc',
    500: '#3a46b5',
    950: '#000000',
  },
}
SCSS
$custom: #3a46b5;
$custom-light: #7f79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46b5",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 181
  },
  "hsl": {
    "h": 234.146,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45433,
    "c": 0.17416,
    "h": 272.6
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#3A46B5
secondary
#C6BF85
accent
#CD4DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A46B5

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

Preview Lab → · Contrast checker → · Palette generator →

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