#3A46B6#3A46B6

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

Color values

HEX#3A46B6
RGBrgb(58, 70, 182)
HSLhsl(234, 52%, 47%)
HSVhsv(234, 68%, 71%)
CMYKcmyk(68.1%, 61.5%, 0%, 28.6%)
CIE-LABlab(35.31, 32.24, -60.80)
CIE-LCHlch(35.31, 68.82, 297.94°)
OKLaboklab(45.52% 0.008 -0.1753)
OKLCHoklch(45.52% 0.176 272.6)
XYZxyz(12.3757, 8.6561, 45.2655)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A46B6 #B6AA3A
analogous
#3A84B6 #3A46B6 #6C3AB6
triadic
#3A46B6 #B63A46 #46B63A
tetradic
#3A46B6 #B63A84 #B6AA3A #3AB66C
square
#3A46B6 #B63A84 #B6AA3A #3AB66C
split-complementary
#3A46B6 #B66C3A #84B63A
monochromatic
#1C2259 #2B3488 #3A46B6 #616BCD #8F96DB

Accessibility & contrast

On white

7.69
#3A46B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3A46B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A46B6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A46B6#FFFFFF#000000##FFFFFF
##3A46B61.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a46b6;
/* rgb */ color: rgb(58, 70, 182);
/* oklch */ color: oklch(45.5% 0.175 272.6);
Tailwind
colors: {
  custom: {
    50: '#8079cd',
    500: '#3a46b6',
    950: '#000000',
  },
}
SCSS
$custom: #3a46b6;
$custom-light: #8079cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a46b6",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 182
  },
  "hsl": {
    "h": 234.194,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45518,
    "c": 0.1755,
    "h": 272.6
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#3A46B6
secondary
#C6C086
accent
#CD4DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3A46B6

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

Preview Lab → · Contrast checker → · Palette generator →

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